是一个一致性、模块化、高性能的 JavaScript 实用工具库。

Custom Builds

Custom builds make it easy to create lightweight versions of Lodash containing only the features you need. To top it off, we handle all function dependency & alias mapping for you. Review the build differences & pick the one that’s right for you.

The Lodash command-line interface is available when lodash-cli is installed as a global package:

$ npm i -g npm
$ npm i -g lodash-cli
$ lodash -h

Build Types

Build Commands:


The following options are also supported: