Skip to content
Sections
>> Trisquel >> 软件包 >> nabia >> web >> node-almond
etiona  ] [  nabia  ] [  aramo  ]
[ 源代码: almond  ]

软件包: node-almond (0.3.3+dfsg-3)

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-pegjs

下载 node-almond

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 13.5 kB40 kB [文件列表]