Package Exports
- lodash-node
- lodash-node/compat
- lodash-node/compat/collection/forEach
- lodash-node/compat/collection/reduce
- lodash-node/compat/function/debounce
- lodash-node/compat/function/throttle
- lodash-node/compat/lang/clone
- lodash-node/compat/lang/cloneDeep
- lodash-node/compat/lang/isString
- lodash-node/compat/object/assign
- lodash-node/compat/object/merge
- lodash-node/compat/object/omit
- lodash-node/compat/utility/noop
- lodash-node/modern
- lodash-node/modern/array
- lodash-node/modern/array/compact
- lodash-node/modern/array/flatten
- lodash-node/modern/array/intersection
- lodash-node/modern/array/uniq
- lodash-node/modern/array/zipObject
- lodash-node/modern/collection/any
- lodash-node/modern/collection/contains
- lodash-node/modern/collection/findWhere
- lodash-node/modern/collection/forEach
- lodash-node/modern/collection/map
- lodash-node/modern/collection/pluck
- lodash-node/modern/collection/reduce
- lodash-node/modern/collection/size
- lodash-node/modern/function/after
- lodash-node/modern/function/partial
- lodash-node/modern/function/partialRight
- lodash-node/modern/lang
- lodash-node/modern/lang/clone
- lodash-node/modern/lang/cloneDeep
- lodash-node/modern/lang/isArray
- lodash-node/modern/lang/isDate
- lodash-node/modern/lang/isEmpty
- lodash-node/modern/lang/isFunction
- lodash-node/modern/lang/isNumber
- lodash-node/modern/lang/isObject
- lodash-node/modern/lang/isRegExp
- lodash-node/modern/lang/isString
- lodash-node/modern/number/random
- lodash-node/modern/object
- lodash-node/modern/object/assign
- lodash-node/modern/object/defaults
- lodash-node/modern/object/extend
- lodash-node/modern/object/findKey
- lodash-node/modern/object/forOwn
- lodash-node/modern/object/has
- lodash-node/modern/object/keys
- lodash-node/modern/object/mapValues
- lodash-node/modern/object/merge
- lodash-node/modern/object/pairs
- lodash-node/modern/object/values
- lodash-node/modern/string/camelCase
- lodash-node/modern/string/escape
- lodash-node/modern/string/template
- lodash-node/modern/support
- lodash-node/modern/utility/noop
- lodash-node/modern/utility/range
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (lodash-node) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
lodash-node v3.5.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.