46 lines
2.2 KiB
Markdown
46 lines
2.2 KiB
Markdown
# lodash v4.13.1
|
||
|
||
[Site](https://lodash.com/) |
|
||
[Docs](https://lodash.com/docs) |
|
||
[FP Guide](https://github.com/lodash/lodash/wiki/FP-Guide) |
|
||
[Contributing](https://github.com/lodash/lodash/blob/4.13.1/.github/CONTRIBUTING.md) |
|
||
[Wiki](https://github.com/lodash/lodash/wiki "Changelog, Roadmap, etc.") |
|
||
[Code of Conduct](https://jquery.org/conduct/) |
|
||
[Twitter](https://twitter.com/bestiejs) |
|
||
[Chat](https://gitter.im/lodash/lodash)
|
||
|
||
The [Lodash](https://lodash.com/) library exported as a [UMD](https://github.com/umdjs/umd) module.
|
||
|
||
Generated using [lodash-cli](https://www.npmjs.com/package/lodash-cli):
|
||
```bash
|
||
$ npm run build
|
||
$ lodash -o ./dist/lodash.js
|
||
$ lodash core -o ./dist/lodash.core.js
|
||
```
|
||
|
||
## Download
|
||
|
||
Lodash is released under the [MIT license](https://raw.githubusercontent.com/lodash/lodash/4.13.1/LICENSE) & supports [modern environments](#support).<br>
|
||
Review the [build differences](https://github.com/lodash/lodash/wiki/build-differences) & pick one that’s right for you.
|
||
|
||
* [Core build](https://raw.githubusercontent.com/lodash/lodash/4.13.1/dist/lodash.core.js) ([~4 kB gzipped](https://raw.githubusercontent.com/lodash/lodash/4.13.1/dist/lodash.core.min.js))
|
||
* [Full build](https://raw.githubusercontent.com/lodash/lodash/4.13.1/dist/lodash.js) ([~22 kB gzipped](https://raw.githubusercontent.com/lodash/lodash/4.13.1/dist/lodash.min.js))
|
||
* [CDN copies](https://www.jsdelivr.com/projects/lodash)
|
||
|
||
## Why Lodash?
|
||
|
||
Lodash makes JavaScript easier by taking the hassle out of working with arrays,<br>
|
||
numbers, objects, strings, etc. Lodash’s modular methods are great for:
|
||
|
||
* Iterating arrays, objects, & strings
|
||
* Manipulating & testing values
|
||
* Creating composite functions
|
||
|
||
## Module Formats
|
||
|
||
Lodash is available in a [variety of builds](https://lodash.com/custom-builds) & module formats.
|
||
|
||
* [lodash](https://www.npmjs.com/package/lodash) & [per method packages](https://www.npmjs.com/browse/keyword/lodash-modularized)
|
||
* [lodash-amd](https://www.npmjs.com/package/lodash-amd)
|
||
* [lodash-es](https://www.npmjs.com/package/lodash-es) & [babel-plugin-lodash](https://www.npmjs.com/package/babel-plugin-lodash)
|
||
* [lodash/fp](https://github.com/lodash/lodash/tree/4.13.1-npm/fp)
|