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

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

Andere aan node-almond gerelateerde pakketten

  • depends
  • recommends
  • suggests
  • dep: node-requirejs-text
    RequireJS/AMD loader plugin for text resources
  • dep: nodejs
    evented I/O for V8 javascript - runtime executable

node-almond downloaden

Pakket downloaden voor alle beschikbare platforms
Platform Pakketgrootte Geïnstalleerde grootte Bestanden
all 13,9 kB40 kB [overzicht]