Skip to content
Sections
>> Trisquel >> 套件 >> aramo >> web >> node-almond
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: almond  ]

套件: node-almond (0.3.3+dfsg-9)

minimal AMD API implementation for use in optimized browser builds

Some developers like to use the AMD API to code modular JavaScript, but after doing an optimized build, they do not want to include a full AMD loader like RequireJS, since they do not need all that functionality.

In the context of Javascript modules, AMD refers to a format specification which makes modules easier to use. See http://requirejs.org/docs/whyamd.html#amd

Some use cases, like mobile, are very sensitive to file sizes.

By including almond in the built file, there is no need for RequireJS. almond is around **1 kilobyte** when minified with Closure Compiler and gzipped.

其他與 node-almond 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: node-requirejs-text
    RequireJS/AMD loader plugin for text resources
  • dep: nodejs
    evented I/O for V8 javascript - runtime executable

下載 node-almond

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 13.9 kB40 kB [文件列表]