全部搜尋項
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ 原始碼: requirejs  ]

套件:node-requirejs(2.3.7+ds+~2.1.37-1)

node-requirejs 的相關連結

Screenshot

Debian 的資源:

下載原始碼套件 requirejs

維護小組:

外部的資源:

相似套件:

JavaScript file and module loader - NodeJS

RequireJS loads plain JavaScript files as well as more defined modules. It is optimized for in-browser use, including in a Web Worker, but it can be used in other JavaScript environments, like Rhino and Node. It implements the Asynchronous Module API

RequireJS uses plain script tags to load modules/files, so it should allow for easy debugging. It can be used simply to load existing JavaScript files, so you can add it to your existing project without having to re-write your JavaScript files.

RequireJS includes an optimization tool you can run as part of your packaging steps for deploying your code. The optimization tool can combine and minify your JavaScript files to allow for better performance.

If the JavaScript file defines a JavaScript module via define(), then there are other benefits RequireJS can offer: improvements over traditional CommonJS modules and loading multiple versions of a module in a page. RequireJS also has a plugin system that supports features like i18n string bundles, and text file dependencies.

RequireJS does not have any dependencies on a JavaScript framework.

The standard require.js file is around 5.5KB when minified via Closure Compiler and gzipped.

This package also provides a script r.js, that has two major functions:

 * Run AMD-based projects in Node and Rhino.
 * Includes the RequireJS Optimizer that combines scripts for optimal
  browser delivery.

標籤: 軟體開發: Ecmascript/JavaScript 開發, 函式庫, 實做語言: implemented-in::ecmascript, role::devel-lib

其他與 node-requirejs 有關的套件

  • 依賴
  • 推薦
  • 建議
  • 增強

下載 node-requirejs

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 192。1 kB1,287。0 kB [檔案列表]