wallet-core/node_modules/lodash/README.md

40 lines
1.1 KiB
Markdown
Raw Normal View History

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