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 43.6 MB
Stars 40,347
Forks 4,188
Watchers 852
Open issues 7
Dependencies 554
Contributors 300
Tags 423
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.15 - Updated - 40.3K stars
org.webjars.npm:lodash.repeat
WebJar for lodash.repeat
Latest release 4.1.0 - Updated - 40.3K stars
dash-merge
The Lodash method `_.merge` exported as a module.
Latest release 4.6.1 - Updated - 40.3K stars
org.webjars.npm:lodash._createpad
WebJar for lodash._createpad
Latest release 3.0.1 - Updated - 40.3K stars
org.webjars.npm:lodash._baseset
WebJar for lodash._baseset
Latest release 4.0.0 - Published - 40.3K stars
org.webjars.npm:lodash.pad
WebJar for lodash.pad
Latest release 4.17.15-amd - Published - 40.3K stars
org.webjars.npm:lodash.padleft
WebJar for lodash.padleft
Latest release 3.0.0 - Published - 40.3K stars
org.webjars.npm:lodash._pickbycallback
WebJar for lodash._pickbycallback
Latest release 3.0.0 - Published - 40.3K stars
org.webjars.npm:lodash.isfinite
WebJar for lodash.isfinite
Latest release 3.3.2 - Updated - 40.3K stars
org.webjars.npm:lodash._pickbyarray
WebJar for lodash._pickbyarray
Latest release 3.0.0 - Published - 40.3K stars
org.webjars.npm:lodash._basefindindex
WebJar for lodash._basefindindex
Latest release 3.6.0 - Published - 40.3K stars
org.webjars.npm:lodash.isempty
WebJar for lodash.isempty
Latest release 4.0.0 - Published - 40.3K stars
org.webjars.npm:lodash.drop
WebJar for lodash.drop
Latest release 4.0.3 - Updated - 40.3K stars
org.webjars.npm:lodash.difference
WebJar for lodash.difference
Latest release 4.5.0 - Updated - 40.3K stars
org.webjars.npm:lodash.frompairs
WebJar for lodash.frompairs
Latest release 4.0.0 - Published - 40.3K stars
org.webjars.npm:lodash.sortby
WebJar for lodash.sortby
Latest release 4.7.0 - Updated - 40.3K stars
org.webjars.npm:lodash.uniqueid
WebJar for lodash.uniqueid
Latest release 3.1.0 - Published - 40.3K stars
org.webjars.npm:lodash.find
WebJar for lodash.find
Latest release 4.4.0 - Updated - 40.3K stars
org.webjars.npm:lodash.filter
WebJar for lodash.filter
Latest release 4.4.0 - Updated - 40.3K stars
org.webjars.npm:lodash.initial
WebJar for lodash.initial
Latest release 4.0.3 - Updated - 40.3K stars

Recent Tags See all

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
4.17.13-amd July 09, 2019
4.17.13-es July 09, 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
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
bysoft/lodash
A drop-in replacement for Underscore.js that delivers up to 8x performance improvements, bug fixe...
JavaScript - MIT - 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