Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lodash/lodash
A modern JavaScript utility library delivering modularity, performance, & extras.
https://github.com/lodash/lodash
javascript lodash modules utilities
Last synced: 11 days ago
JSON representation
A modern JavaScript utility library delivering modularity, performance, & extras.
- Host: GitHub
- URL: https://github.com/lodash/lodash
- Owner: lodash
- License: other
- Created: 2012-04-07T04:11:46.000Z (over 12 years ago)
- Default Branch: main
- Last Pushed: 2024-04-13T11:19:05.000Z (7 months ago)
- Last Synced: 2024-04-13T21:48:12.301Z (7 months ago)
- Topics: javascript, lodash, modules, utilities
- Language: JavaScript
- Homepage: https://lodash.com/
- Size: 45.9 MB
- Stars: 58,818
- Watchers: 843
- Forks: 6,935
- Open Issues: 71
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
- awesome-frontend-lib - lodash
- stars - lodash/lodash
- awesome-nodejs-cn - lodash - 更好更快的Underscore.js,提供兼容性,灵活性,高性能和其他功能的实用工具库 (包 / 函数式编程)
- awesome-nodejs - lodash - Utility library delivering consistency, customization, performance, & extras. A better and faster Underscore.js. ![](https://img.shields.io/github/stars/lodash/lodash.svg?style=social&label=Star) (Repository / Functional programming)
- awesome-nodejs-cn - lodash - **star:59152** 提供一致性、自定义、性能和附加功能的实用程序库一个更好更快的Underscore.js ![star > 2000][Awesome] (包 / 函数式编程)
- awesome-fe-utils - lodash
- awesome - lodash
- awesome-nodejs - lodash - 可提供一致性、自定义、性能和其他功能的实用程序库,比 Underscore.js 更好更快。 ![](https://img.shields.io/github/stars/lodash/lodash.svg?style=social&label=Star) (GIT 仓库 / 函数式编程)
- awesome-github-star - lodash
- awesome-list - lodash
- awesome-nodejs - lodash - Utility library delivering consistency, customization, performance, & extras. A better and faster Underscore.js. (Packages / Functional programming)
- best-of-react - GitHub - 1% open · ⏱️ 16.04.2024): (Utilities)
- awesome - lodash / lodash
- awesome-front-end - lodash
- my-awesome - lodash - :white_check_mark: A modern JavaScript utility library delivering modularity, performance, & extras. (Library)
- awesome-node - lodash - Utility library delivering consistency, customization, performance, & extras. A better and faster Underscore.js. (Packages / Functional programming)
- awesome-f2e-libs - **lodash** - 工具集合。 (工具类 / macros)
- awesome-nodejs-cn - lodash - 可提供一致性,自定义,性能和其他功能的实用程序库。 更好更快的Underscore.js. (目录 / 函数式编程)
- awesome-fe - **lodash** - 工具集合。 (工具类 / macros)
- awesome-star-libs - lodash / lodash
- awesome-starred - lodash/lodash - A modern JavaScript utility library delivering modularity, performance, & extras. (javascript)
- jimsghstars - lodash/lodash - A modern JavaScript utility library delivering modularity, performance, & extras. (JavaScript)
- awesome-web-cn - lodash - 一个 JavaScript 的工具库,包含许多有用的工具函数 (Uncategorized / Uncategorized)
- awesome-javascript - lodash - A modern JavaScript utility library delivering modularity, performance, & extras. - ★ 35692 (Functional Programming)
- awesome - lodash/lodash - A modern JavaScript utility library delivering modularity, performance, & extras. (JavaScript)
- awesome - lodash/lodash - A modern JavaScript utility library delivering modularity, performance, & extras. (JavaScript)
README
# lodash v4.17.21
[Site](https://lodash.com/) |
[Docs](https://lodash.com/docs) |
[FP Guide](https://github.com/lodash/lodash/wiki/FP-Guide) |
[Contributing](https://github.com/lodash/lodash/blob/master/.github/CONTRIBUTING.md) |
[Wiki](https://github.com/lodash/lodash/wiki "Changelog, Roadmap, etc.") |
[Code of Conduct](https://js.foundation/conduct/) |
[Twitter](https://twitter.com/bestiejs) |
[Chat](https://gitter.im/lodash/lodash)The [Lodash](https://lodash.com/) library exported as a [UMD](https://github.com/umdjs/umd) module.
Generated using [lodash-cli](https://www.npmjs.com/package/lodash-cli):
```shell
$ npm run build
$ lodash -o ./dist/lodash.js
$ lodash core -o ./dist/lodash.core.js
```## Download
* [Core build](https://raw.githubusercontent.com/lodash/lodash/4.17.21/dist/lodash.core.js) ([~4 kB gzipped](https://raw.githubusercontent.com/lodash/lodash/4.17.21/dist/lodash.core.min.js))
* [Full build](https://raw.githubusercontent.com/lodash/lodash/4.17.21/dist/lodash.js) ([~24 kB gzipped](https://raw.githubusercontent.com/lodash/lodash/4.17.21/dist/lodash.min.js))
* [CDN copies](https://www.jsdelivr.com/projects/lodash)Lodash is released under the [MIT license](https://raw.githubusercontent.com/lodash/lodash/4.17.21/LICENSE) & supports modern environments.
Review the [build differences](https://github.com/lodash/lodash/wiki/build-differences) & pick one that’s right for you.## Installation
In a browser:
```html```
Using npm:
```shell
$ npm i -g npm
$ npm i --save lodash
```In Node.js:
```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');
```**Note:**
Install [n_](https://www.npmjs.com/package/n_) for Lodash use in the Node.js < 6 REPL.## 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](https://lodash.com/custom-builds) & module formats.
* [lodash](https://www.npmjs.com/package/lodash) & [per method packages](https://www.npmjs.com/browse/keyword/lodash-modularized)
* [lodash-es](https://www.npmjs.com/package/lodash-es), [babel-plugin-lodash](https://www.npmjs.com/package/babel-plugin-lodash), & [lodash-webpack-plugin](https://www.npmjs.com/package/lodash-webpack-plugin)
* [lodash/fp](https://github.com/lodash/lodash/tree/npm/fp)
* [lodash-amd](https://www.npmjs.com/package/lodash-amd)