8000 GitHub - nuragic/lodash: A utility library delivering consistency, modularity, performance, & extras. · GitHub
[go: up one dir, main page]

Skip to content
nuragicPublic
forked from lodash/lodash

About

A utility library delivering consistency, modularity, performance, & extras.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

Lo-Dash v3.0.0

A utility library delivering consistency, modularity, performance, & extras.

Documentation

Download

Review the build differences & pick the one that’s right for you.

Lo-Dash is available in a variety of module formats.

CDN copies are available on cdnjs & jsDelivr.
Create custom builds with only the features you need.

Dive in

Check out our unit tests, benchmarks, changelog, roadmap, as well as community created podcasts, posts, & videos.

Installation

In a browser:

<script src="lodash.js"></script>

In an AMD loader:

// load the modern build
require(['lodash'], function(_) {
  // use `_`
});

// or the amd branch
require({
  'packages': [
    { 'name': 'lodash', 'location': 'path/to/lodash' }
  ]
}, ['lodash/collection/each'], function(each) {
  // use `each`
});

Using npm:

$ {sudo -H} npm i -g npm
$ npm i --save lodash

In Node.js/io.js:

// load the modern build
var _ = require('lodash');

// or the compatibility build
var _ = require('lodash-compat');

// or a method category
var array = require('lodash/array');

// or a method
var chunk = require('lodash/array/chunk');

Note: Don’t assign values to the special variable _ when in the REPL. Install n_ for a version of the REPL that includes Lo-Dash by default.

Features not in Underscore

Support

Tested in Chrome 38-39, Firefox 34-35, IE 6-11, Opera 25-26, Safari 5-8, io.js 1.0.3, Node.js 0.8.28 & 0.10.35, PhantomJS 1.9.8, RingoJS 0.11, & Rhino 1.7RC5.

Automated browser test runs are available as well as CI runs for lodash, lodash-cli, & grunt-lodash. Special thanks to Sauce Labs for providing automated browser testing.

About

A utility library delivering consistency, modularity, performance, & extras.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0