MCPcopy
hub / github.com/lodash/lodash

github.com/lodash/lodash @4.18.1 sqlite

repository ↗ · DeepWiki ↗ · release 4.18.1 ↗
626 symbols 1,595 edges 27 files 537 documented · 86%
README

lodash v4.18.1

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

[!IMPORTANT] As announced on the OpenJS Foundation blog, Lodash has received support from the Sovereign Tech Agency and will transition to the Feature-Complete maturity stage so that it remains stable, secure, and sustainable long-term. As part of this effort, Lodash is rebooting its governance. A draft charter will be published shortly. The upcoming Technical Steering Committee (TSC) is already at work. For transparency, its members are listed in GOVERNANCE.md.

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="https://github.com/lodash/lodash/raw/4.18.1/lodash.js"></script>

Using npm:

$ npm i -g npm
$ npm i --save lodash

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');

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.

Core symbols most depended-on inside this repo

skipAssert
called by 328
test/test.js
matches
called by 80
test/test.js
resolve
called by 65
test/test.js
getIteratee
called by 50
lodash.js
message
called by 45
test/test.js
toInteger
called by 41
lodash.js
baseRest
called by 38
lodash.js
iteratee
called by 30
lodash.js

Shape

Function 626

Languages

TypeScript100%

Modules by API surface

lodash.js489 symbols
test/test.js69 symbols
fp/_baseConvert.js18 symbols
test/test-fp.js11 symbols
perf/perf.js7 symbols
lib/main/build-site.js7 symbols
lib/fp/build-modules.js5 symbols
lib/common/file.js4 symbols
lib/main/build-doc.js3 symbols
lib/fp/build-doc.js3 symbols
test/asset/test-ui.js2 symbols
lib/common/util.js2 symbols

Dependencies from manifests, versioned

async2.6.3 · 1×
benchmark2.1.3 · 1×
chalk1.1.3 · 1×
cheerio0.22.0 · 1×
codecov.io0.1.6 · 1×
coveralls2.11.15 · 1×
curl-amd0.8.12 · 1×
docdown0.7.2 · 1×
dojo1.15.0 · 1×
ecstatic2.2.2 · 1×
fs-extra1.0.0 · 1×
glob7.1.4 · 1×

For agents

$ claude mcp add lodash \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact