Skip to content
Sections
>> Trisquel >> Packages >> nabia >> web >> node-almond
etiona  ] [  nabia  ] [  aramo  ]
[ Source: almond  ]

Package: 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.

Other Packages Related to node-almond

  • depends
  • recommends
  • suggests
  • dep: node-requirejs-text
    RequireJS/AMD loader plugin for text resources
  • dep: nodejs
    evented I/O for V8 javascript - runtime executable
    also a virtual package provided by node-pegjs

Download node-almond

Download for all available architectures
Architecture Package Size Installed Size Files
all 13.5 kB40 kB [list of files]