Lodash exported as AMD modules.
npm install lodash-amdThe Lodash library exported as AMD modules.
Generated using lodash-cli:
``shell`
$ lodash exports=amd -o ./
$ lodash exports=amd -d -o ./main.js
Using npm:
`shell`
$ npm i -g npm
$ npm i --save lodash-amd
Using an AMD loader:
`jschunk
require({
'packages': [
{ 'name': 'lodash', 'location': 'path/to/lodash' }
]
}, ['lodash/chunk'], function(chunk) {
// use ``
});
See the package source for more details.