开源软件名称(OpenSource Name):lodash/lodash开源软件地址(OpenSource Url):https://github.com/lodash/lodash开源编程语言(OpenSource Language):JavaScript 100.0%开源软件介绍(OpenSource Introduction):lodashSite | 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 DownloadLodash is released under the MIT license & supports modern environments. InstallationIn a browser: <script src="lodash.js"></script> Using npm: $ npm i -g npm
$ npm i lodash Note: add 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,
Module FormatsLodash is available in a variety of builds & module formats.
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论