| 1 |
Source: almond |
| 2 |
Section: javascript |
| 3 |
Priority: optional |
| 4 |
Maintainer: Georges Khaznadar <[email protected]> |
| 5 |
Testsuite: autopkgtest-pkg-nodejs |
| 6 |
Build-Depends: debhelper-compat (= 13), terser, dh-sequence-nodejs |
| 7 |
Standards-Version: 4.6.1 |
| 8 |
Homepage: https://github.com/requirejs/almond/ |
| 9 |
Vcs-Browser: https://salsa.debian.org/georgesk/almond |
| 10 |
Vcs-Git: https://salsa.debian.org/georgesk/almond.git |
| 11 |
Rules-Requires-Root: no |
| 12 |
|
| 13 |
Package: node-almond |
| 14 |
Architecture: all |
| 15 |
Depends: nodejs, ${misc:Depends}, node-requirejs-text |
| 16 |
Description: minimal AMD API implementation for use in optimized browser builds |
| 17 |
Some developers like to use the AMD API to code modular JavaScript, |
| 18 |
but after doing an optimized build, they do not want to include a |
| 19 |
full AMD loader like RequireJS, since they do not need all that |
| 20 |
functionality. |
| 21 |
. |
| 22 |
In the context of Javascript modules, AMD refers to a format |
| 23 |
specification which makes modules easier to use. See |
| 24 |
http://requirejs.org/docs/whyamd.html#amd |
| 25 |
. |
| 26 |
Some use cases, like mobile, are very sensitive to file sizes. |
| 27 |
. |
| 28 |
By including almond in the built file, there is no need for |
| 29 |
RequireJS. almond is around **1 kilobyte** when minified with |
| 30 |
Closure Compiler and gzipped. |