root / HServer / 00.Server / 00.Program / node_modules / lodash / README.md
이력 | 보기 | 이력해설 | 다운로드 (1.09 KB)
1 | 39 | HKM | # lodash v4.17.5 |
---|---|---|---|
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.5-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 63-64, Firefox 57-58, IE 11, Edge 14, Safari 10-11, Node.js 4-9, & PhantomJS 2.1.1.<br> |
||
39 | Automated [browser](https://saucelabs.com/u/lodash) & [CI](https://travis-ci.org/lodash/lodash/) test runs are available. |