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 42.6 MB
Stars 39,712
Forks 4,124
Watchers 855
Open issues 13
Dependencies 554
Contributors 297
Tags 402
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
Lodash modular utilities.
Latest release 4.17.11 - Updated - 39.7K stars
payu-form-validation
A modern JavaScript utility library delivering modularity, performance, & extras.
Latest release 4.17.12-pre - Published - 39.7K stars
lodash
A modern JavaScript utility library delivering modularity, performance, & extras.
Latest release 4.17.12-pre - Published - 39.7K stars
lodash.pullallwith
The lodash method `_.pullAllWith` exported as a module.
Latest release 4.7.0 - Updated - 39.7K stars
lodash.update
The lodash method `_.update` exported as a module.
Latest release 4.10.2 - Updated - 39.7K stars
lodash._createset
The internal lodash function `createSet` exported as a module.
Latest release 4.0.3 - Updated - 39.7K stars
lodash._root
The internal lodash function `root` exported as a module.
Latest release 3.0.1 - Updated - 39.7K stars
lodash.padstart
The lodash method `_.padStart` exported as a module.
Latest release 4.6.1 - Updated - 39.7K stars
lodash.get
The lodash method `_.get` exported as a module.
Latest release 4.4.2 - Updated - 39.7K stars
lodash.differencewith
The lodash method `_.differenceWith` exported as a module.
Latest release 4.5.0 - Updated - 39.7K stars
lodash.subtract
The lodash method `_.subtract` exported as a module.
Latest release 4.2.0 - Updated - 39.7K stars
lodash.intersectionby
The lodash method `_.intersectionBy` exported as a module.
Latest release 4.7.0 - Updated - 39.7K stars
lodash.isequalwith
The lodash method `_.isEqualWith` exported as a module.
Latest release 4.4.0 - Updated - 39.7K stars
lodash.ismatchwith
The lodash method `_.isMatchWith` exported as a module.
Latest release 4.4.0 - Updated - 39.7K stars
lodash.isnil
The lodash method `_.isNil` exported as a module.
Latest release 4.0.0 - Published - 39.7K stars
lodash.overevery
The lodash method `_.overEvery` exported as a module.
Latest release 4.7.0 - Updated - 39.7K stars
lodash.tointeger
The lodash method `_.toInteger` exported as a module.
Latest release 4.0.4 - Updated - 39.7K stars
lodash.tonumber
The lodash method `_.toNumber` exported as a module.
Latest release 4.0.3 - Updated - 39.7K stars
lodash.topairsin
The lodash method `_.toPairsIn` exported as a module.
Latest release 4.3.0 - Updated - 39.7K stars
lodash.tosafeinteger
The lodash method `_.toSafeInteger` exported as a module.
Latest release 4.0.4 - Updated - 39.7K stars

Recent Tags See all

4.17.12-pre February 12, 2019
4.17.11 September 12, 2018
4.17.11 September 12, 2018
4.17.11-es September 12, 2018
4.17.11-amd September 12, 2018
4.17.11-npm September 12, 2018
4.17.11-npm September 12, 2018
4.17.10-es April 24, 2018
4.17.10-amd April 24, 2018
4.17.10 April 24, 2018
4.17.10-npm April 24, 2018
4.17.9-npm April 24, 2018
4.17.9-es April 24, 2018
4.17.9-amd April 24, 2018
4.17.9 April 24, 2018

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
imajeet/lodash
A modern JavaScript utility library delivering modularity, performance, & extras.
JavaScript - Other - Updated - 1 stars
bysoft/lodash
A drop-in replacement for Underscore.js that delivers up to 8x performance improvements, bug fixe...
JavaScript - MIT - Updated - 1 stars
ZoeWang/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-06-21 00:50:36 UTC

Login to resync this repository