Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

lodash-archive/lodash-node

Repository files navigation

lodash-node v3.4.0

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

Generated using lodash-cli:

$ lodash modularize compat exports=node -o ./compat && lodash compat exports=node -d -o ./compat/index.js
$ lodash modularize modern exports=node -o ./modern && lodash modern exports=node -d -o ./modern/index.js

Deprecated

The lodash-node package is deprecated in favor of lodash & lodash-compat ≥ v3.0.0.

Installation

Using npm:

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

In Node.js/io.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.

Note:
Don’t assign values to the special variable _ when in the REPL.
Install n_ for a REPL that includes lodash by default.

About

Lodash module bundles for Node.js.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •