Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

39 строки
1.1 KiB

3 лет назад
  1. # lodash v4.17.20
  2. The [Lodash](https://lodash.com/) library exported as [Node.js](https://nodejs.org/) modules.
  3. ## Installation
  4. Using npm:
  5. ```shell
  6. $ npm i -g npm
  7. $ npm i --save lodash
  8. ```
  9. In Node.js:
  10. ```js
  11. // Load the full build.
  12. var _ = require('lodash');
  13. // Load the core build.
  14. var _ = require('lodash/core');
  15. // Load the FP build for immutable auto-curried iteratee-first data-last methods.
  16. var fp = require('lodash/fp');
  17. // Load method categories.
  18. var array = require('lodash/array');
  19. var object = require('lodash/fp/object');
  20. // Cherry-pick methods for smaller browserify/rollup/webpack bundles.
  21. var at = require('lodash/at');
  22. var curryN = require('lodash/fp/curryN');
  23. ```
  24. See the [package source](https://github.com/lodash/lodash/tree/4.17.20-npm) for more details.
  25. **Note:**<br>
  26. Install [n_](https://www.npmjs.com/package/n_) for Lodash use in the Node.js < 6 REPL.
  27. ## Support
  28. Tested in Chrome 74-75, Firefox 66-67, IE 11, Edge 18, Safari 11-12, & Node.js 8-12.<br>
  29. Automated [browser](https://saucelabs.com/u/lodash) & [CI](https://travis-ci.org/lodash/lodash/) test runs are available.