mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 17:47:49 +00:00
add npm install guide (#2592)
This commit is contained in:
committed by
John-David Dalton
parent
171ca53c29
commit
091d8e3dbf
@@ -9,6 +9,12 @@
|
|||||||
[Twitter](https://twitter.com/bestiejs) |
|
[Twitter](https://twitter.com/bestiejs) |
|
||||||
[Chat](https://gitter.im/lodash/lodash)
|
[Chat](https://gitter.im/lodash/lodash)
|
||||||
|
|
||||||
|
Lodash is distibuted through [npm](npmjs.com). To install it, run the following:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
$ npm i --save lodash
|
||||||
|
```
|
||||||
|
|
||||||
The [Lodash](https://lodash.com/) library exported as a [UMD](https://github.com/umdjs/umd) module.
|
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):
|
Generated using [lodash-cli](https://www.npmjs.com/package/lodash-cli):
|
||||||
@@ -18,7 +24,7 @@ $ lodash -o ./dist/lodash.js
|
|||||||
$ lodash core -o ./dist/lodash.core.js
|
$ lodash core -o ./dist/lodash.core.js
|
||||||
```
|
```
|
||||||
|
|
||||||
## Download
|
## Installation
|
||||||
|
|
||||||
Lodash is released under the [MIT license](https://raw.githubusercontent.com/lodash/lodash/4.15.0/LICENSE) & supports [modern environments](#support).<br>
|
Lodash is released under the [MIT license](https://raw.githubusercontent.com/lodash/lodash/4.15.0/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.
|
Review the [build differences](https://github.com/lodash/lodash/wiki/build-differences) & pick one that’s right for you.
|
||||||
|
|||||||
Reference in New Issue
Block a user