mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 15:57:48 +00:00
24 lines
584 B
Markdown
24 lines
584 B
Markdown
# lodash v3.3.1
|
|
|
|
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodash](https://lodash.com/) exported as [AMD](https://github.com/amdjs/amdjs-api/wiki/AMD) modules.
|
|
|
|
Generated using [lodash-cli](https://www.npmjs.com/package/lodash-cli):
|
|
```bash
|
|
$ lodash modularize modern exports=amd -o ./
|
|
$ lodash modern exports=amd -d -o ./main.js
|
|
```
|
|
|
|
## Installation
|
|
|
|
Defining a build as `'lodash'`.
|
|
|
|
```js
|
|
require({
|
|
'packages': [
|
|
{ 'name': 'lodash', 'location': 'path/to/lodash' }
|
|
]
|
|
}, ['lodash/array/chunk'], function(chunk) {
|
|
// use `chunk`
|
|
});
|
|
```
|