add npm install guide (#2592)

This commit is contained in:
Zakaria Ridouh
2016-08-23 17:04:03 -07:00
committed by John-David Dalton
parent 171ca53c29
commit 091d8e3dbf

View File

@@ -9,6 +9,12 @@
[Twitter](https://twitter.com/bestiejs) |
[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.
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
```
## Download
## Installation
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 thats right for you.