lodash/lodash


A modern JavaScript utility library delivering modularity, performance, & extras.

https://lodash.com/

License: Other

Language: JavaScript

Keywords: javascript, lodash, modules, utilities


lodash

Site | Docs | FP Guide | Contributing | Wiki | Code of Conduct | Twitter | Chat

The Lodash library exported as a UMD module.

Generated using lodash-cli:

$ npm run build
$ lodash -o ./dist/lodash.js
$ lodash core -o ./dist/lodash.core.js

Download

Lodash is released under the MIT license & supports modern environments.
Review the build differences & pick one that’s right for you.

Installation

In a browser:

<script src="lodash.js"></script>

Using npm:

$ npm i -g npm
$ npm i lodash

Note: add --save if you are using npm < 5.0.0

In Node.js:

// Load the full build.
var _ = require('lodash');
// Load the core build.
var _ = require('lodash/core');
// Load the FP build for immutable auto-curried iteratee-first data-last methods.
var fp = require('lodash/fp');

// Load method categories.
var array = require('lodash/array');
var object = require('lodash/fp/object');

// Cherry-pick methods for smaller browserify/rollup/webpack bundles.
var at = require('lodash/at');
var curryN = require('lodash/fp/curryN');

Looking for Lodash modules written in ES6 or smaller bundle sizes? Check out lodash-es.

Why Lodash?

Lodash makes JavaScript easier by taking the hassle out of working with arrays,
numbers, objects, strings, etc. Lodash’s modular methods are great for:

  • Iterating arrays, objects, & strings
  • Manipulating & testing values
  • Creating composite functions

Module Formats

Lodash is available in a variety of builds & module formats.

Project Statistics

Sourcerank 27
Repository Size 45.3 MB
Stars 45,860
Forks 5,080
Watchers 884
Open issues 138
Dependencies 554
Contributors 300
Tags 425
Created
Last updated
Last pushed

Top Contributors See all

John-David Dalton Jeremy Ashkenas Michał Lipiński Greenkeeper Benjamin Tan Kit Cambridge Brad Dunbar Ryan Tenney Mike Frawley Jeroen Engels Graeme Yeates Luiz Américo theif Mathias Bynens Blaine Bublitz Raymond May Jr. noah Justin Ridgewell Samuel Clay Michael Ficarra

Packages Referencing this Repo

lodash.isobjectlike
The lodash method `_.isObjectLike` exported as a module.
Latest release 4.0.0 - Published - 45.9K stars
lodash.merge
The Lodash method `_.merge` exported as a module.
Latest release 4.6.2 - Updated - 45.9K stars
lodash.get
The lodash method `_.get` exported as a module.
Latest release 4.4.2 - Updated - 45.9K stars
lodash.pick
The lodash method `_.pick` exported as a module.
Latest release 4.4.0 - Updated - 45.9K stars
lodash.mergewith
The Lodash method `_.mergeWith` exported as a module.
Latest release 4.6.2 - Updated - 45.9K stars
lodash.map
The lodash method `_.map` exported as a module.
Latest release 4.6.0 - Updated - 45.9K stars
lodash.reduce
The lodash method `_.reduce` exported as a module.
Latest release 4.6.0 - Updated - 45.9K stars
lodash.some
The lodash method `_.some` exported as a module.
Latest release 4.6.0 - Updated - 45.9K stars
lodash.toplainobject
The lodash method `_.toPlainObject` exported as a module.
Latest release 4.2.0 - Updated - 45.9K stars
lodash.reject
The lodash method `_.reject` exported as a module.
Latest release 4.6.0 - Updated - 45.9K stars
lodash.defaults
The lodash method `_.defaults` exported as a module.
Latest release 4.2.0 - Updated - 45.9K stars
lodash.flatten
The lodash method `_.flatten` exported as a module.
Latest release 4.4.0 - Updated - 45.9K stars
lodash.keysin
The lodash method `_.keysIn` exported as a module.
Latest release 4.2.0 - Updated - 45.9K stars
lodash.istypedarray
The lodash method `_.isTypedArray` exported as a module.
Latest release 4.0.1 - Updated - 45.9K stars
lodash.foreach
The lodash method `_.forEach` exported as a module.
Latest release 4.5.0 - Updated - 45.9K stars
lodash.isarray
The lodash method `_.isArray` exported as a module.
Latest release 4.0.0 - Updated - 45.9K stars
lodash.isfinite
The lodash method `_.isFinite` exported as a module.
Latest release 3.3.2 - Updated - 45.9K stars
lodash.bind
The lodash method `_.bind` exported as a module.
Latest release 4.2.1 - Updated - 45.9K stars
lodash.assignin
The lodash method `_.assignIn` exported as a module.
Latest release 4.2.0 - Updated - 45.9K stars
lodash._basecopy
The modern build of lodash’s internal `baseCopy` as a module.
Latest release 3.0.1 - Updated - 45.9K stars

Recent Tags See all

4.17.19 July 08, 2020
4.17.16 July 08, 2020
4.17.15-amd July 17, 2019
4.17.15-es July 17, 2019
4.17.15-npm July 17, 2019
4.17.15 July 17, 2019
4.17.15 July 17, 2019
4.17.15 July 17, 2019
4.17.15 July 17, 2019
4.17.14-npm July 10, 2019
4.17.14-amd July 10, 2019
4.17.14-amd July 10, 2019
4.17.14-es July 10, 2019
4.17.14-es July 10, 2019
4.17.14 July 10, 2019

Interesting Forks See all

kengz/lomath
Lomath is a tensorial math library extended from lodash, with performant math functions applicabl...
This repository is no longer available - 15 stars - 2 forks
alsotang/lodash
A utility library delivering consistency, customization, performance, & extras.
JavaScript - MIT - Last pushed - 2 stars - 1 forks
brightest-dazes/lodash
A modern JavaScript utility library delivering modularity, performance, & extras.
JavaScript - Other - Last pushed - 1 stars
elastic/lodash
THIS FORK IS ONLY INTENDED TO BE USED IN KIBANA
JavaScript - Other - Last pushed - 1 stars - 1 forks
imajeet/lodash
A modern JavaScript utility library delivering modularity, performance, & extras.
JavaScript - Other - Updated - 1 stars

Something wrong with this page? Make a suggestion

Last synced: 2019-07-10 00:54:29 UTC

Login to resync this repository