Projekt

Obecné

Profil

Stáhnout (1.08 KB) Statistiky
| Větev: | Revize:
1
# lodash v4.17.15
2

    
3
The [Lodash](https://lodash.com/) library exported as [Node.js](https://nodejs.org/) modules.
4

    
5
## Installation
6

    
7
Using npm:
8
```shell
9
$ npm i -g npm
10
$ npm i --save lodash
11
```
12

    
13
In Node.js:
14
```js
15
// Load the full build.
16
var _ = require('lodash');
17
// Load the core build.
18
var _ = require('lodash/core');
19
// Load the FP build for immutable auto-curried iteratee-first data-last methods.
20
var fp = require('lodash/fp');
21

    
22
// Load method categories.
23
var array = require('lodash/array');
24
var object = require('lodash/fp/object');
25

    
26
// Cherry-pick methods for smaller browserify/rollup/webpack bundles.
27
var at = require('lodash/at');
28
var curryN = require('lodash/fp/curryN');
29
```
30

    
31
See the [package source](https://github.com/lodash/lodash/tree/4.17.15-npm) for more details.
32

    
33
**Note:**<br>
34
Install [n_](https://www.npmjs.com/package/n_) for Lodash use in the Node.js < 6 REPL.
35

    
36
## Support
37

    
38
Tested in Chrome 74-75, Firefox 66-67, IE 11, Edge 18, Safari 11-12, & Node.js 8-12.<br>
39
Automated [browser](https://saucelabs.com/u/lodash) & [CI](https://travis-ci.org/lodash/lodash/) test runs are available.
(2-2/571)