Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

lodash-node

lodash97.1kMITdeprecated3.10.2

This package is discontinued. Use lodash@^4.0.0.

Lodash module bundles for Node.js.

readme

lodash-node v3.10.2

The compatibility & modern builds of lodash exported as Node.js modules.

Discontinued

This package has been discontinued in favor of lodash@npm.

Installation

Using npm:

$ {sudo -H} npm i -g npm
$ npm i --save lodash-node

In Node.js:

// load the modern build
var _ = require('lodash-node');
// or the compatibility build
var _ = require('lodash-node/compat');
// or a method category
var array = require('lodash-node/modern/array');
// or a method
var chunk = require('lodash-node/compat/array/chunk');

See the package source for more details.