Rinser/node_modules/lodash/README.md

40 lines
1.1 KiB
Markdown
Raw Normal View History

2017-05-30 08:23:57 +00:00
# lodash v4.17.4
2015-07-20 13:42:07 +00:00
The [Lodash](https://lodash.com/) library exported as [Node.js](https://nodejs.org/) modules.
2015-07-20 13:42:07 +00:00
## Installation
Using npm:
2017-04-11 22:06:56 +00:00
```shell
$ npm i -g npm
2015-07-20 13:42:07 +00:00
$ npm i --save lodash
```
2016-02-12 13:10:16 +00:00
In Node.js:
2015-07-20 13:42:07 +00:00
```js
2016-03-15 11:33:52 +00:00
// Load the full build.
2015-07-20 13:42:07 +00:00
var _ = require('lodash');
2016-03-15 11:33:52 +00:00
// Load the core build.
2016-02-12 13:10:16 +00:00
var _ = require('lodash/core');
2017-04-11 22:06:56 +00:00
// Load the FP build for immutable auto-curried iteratee-first data-last methods.
var fp = require('lodash/fp');
2016-02-12 13:10:16 +00:00
2017-04-11 22:06:56 +00:00
// Load method categories.
2015-07-20 13:42:07 +00:00
var array = require('lodash/array');
2016-02-12 13:10:16 +00:00
var object = require('lodash/fp/object');
2017-04-11 22:06:56 +00:00
// Cherry-pick methods for smaller browserify/rollup/webpack bundles.
var at = require('lodash/at');
var curryN = require('lodash/fp/curryN');
2015-07-20 13:42:07 +00:00
```
2017-05-30 08:23:57 +00:00
See the [package source](https://github.com/lodash/lodash/tree/4.17.4-npm) for more details.
2015-07-20 13:42:07 +00:00
**Note:**<br>
2017-04-11 22:06:56 +00:00
Install [n_](https://www.npmjs.com/package/n_) for Lodash use in the Node.js < 6 REPL.
2015-07-20 13:42:07 +00:00
## Support
2017-05-30 08:23:57 +00:00
Tested in Chrome 54-55, Firefox 49-50, IE 11, Edge 14, Safari 9-10, Node.js 6-7, & PhantomJS 2.1.1.<br>
2016-02-12 13:10:16 +00:00
Automated [browser](https://saucelabs.com/u/lodash) & [CI](https://travis-ci.org/lodash/lodash/) test runs are available.