Getting started with lodash
Remarks#
Lodash is a library of utilities for manipulating and examining objects and arrays.
Versions#
Version | Release Date |
---|---|
v0.1.0 | 2012-04-23 |
v0.2.0 | 2012-05-21 |
v0.2.1 | 2012-05-24 |
v0.2.2 | 2012-05-30 |
v0.3.0 | 2012-06-06 |
v0.3.1 | 2012-06-10 |
v0.3.2 | 2012-06-14 |
v0.4.0 | 2012-07-11 |
v0.4.1 | 2012-07-11 |
v0.4.2 | 2012-07-16 |
v0.5.0 | 2012-08-17 |
v0.5.1 | 2012-08-18 |
v0.5.2 | 2012-08-21 |
v0.6.0 | 2012-08-28 |
v0.6.1 | 2012-08-29 |
v0.7.0 | 2012-09-11 |
v0.8.0 | 2012-10-01 |
v0.8.1 | 2012-10-04 |
v0.8.2 | 2012-10-10 |
v0.9.0 | 2012-10-24 |
v0.9.1 | 2012-10-31 |
v0.9.2 | 2012-11-09 |
v0.10.0 | 2012-11-17 |
v1.0.0 | 2013-02-14 |
v1.0.1 | 2013-02-18 |
v1.0.2 | 2013-02-18 |
v1.1.0 | 2013-03-26 |
v1.1.1 | 2013-03-27 |
v1.2.0 | 2013-04-16 |
v1.2.1 | 2013-04-29 |
v1.3.0 | 2013-06-11 |
v1.3.1 | 2013-06-12 |
v2.0.0 | 2013-09-13 |
v2.1.0 | 2013-09-22 |
v2.2.0 | 2013-09-28 |
v2.2.1 | 2013-10-03 |
v2.3.0 | 2013-11-10 |
v2.4.0 | 2013-11-25 |
v2.4.1 | 2013-12-02 |
v2.4.2 | 2015-04-26 |
v3.0.0 | 2015-01-26 |
v3.0.1 | 2015-01-30 |
v3.1.0 | 2015-02-03 |
v3.2.0 | 2015-02-12 |
v3.3.0 | 2015-02-20 |
v3.3.1 | 2015-02-24 |
v3.4.0 | 2015-03-06 |
v3.5.0 | 2015-03-08 |
v3.6.0 | 2015-03-25 |
v3.7.0 | 2015-04-15 |
v3.8.0 | 2015-05-01 |
v3.9.0 | 2015-05-19 |
v3.9.2 | 2015-05-24 |
v3.9.3 | 2015-05-26 |
v3.10.0 | 2015-06-30 |
v3.10.1 | 2015-08-04 |
v4.0.0 | 2016-01-12 |
v4.0.1 | 2016-01-25 |
v4.1.0 | 2016-01-29 |
v4.2.0 | 2016-02-02 |
v4.2.1 | 2016-02-03 |
v4.3.0 | 2016-02-07 |
v4.4.0 | 2016-02-15 |
v4.5.0 | 2016-02-17 |
v4.5.1 | 2016-02-21 |
v4.6.0 | 2016-02-29 |
v4.6.1 | 2016-03-01 |
v4.7.0 | 2016-03-31 |
v4.8.0 | 2016-04-04 |
v4.8.1 | 2016-04-04 |
v4.8.2 | 2016-04-04 |
v4.9.0 | 2016-04-08 |
v4.10.0 | 2016-04-11 |
v4.11.0 | 2016-04-13 |
v4.11.1 | 2016-04-14 |
v4.11.2 | 2016-04-21 |
v4.12.0 | 2016-05-08 |
v4.13.0 | 2016-05-22 |
v4.13.1 | 2016-05-23 |
Setup
Lodash works equally well on both servers (like node.js) and browsers.
node.js with npm
Download with npm from the CLI:
npm install lodash
Then in your node scripts:
var _ = require("lodash");
// use lodash in your program...
Download own copy for clientside in website (ie. in the browser)
- Download lodash or use a package manager like npm, jspm or bower.
- Include the script reference in your page with
<script src="lodash.js"></script>
. (Fix the path if itβs not in same directory as the webpage.)
Use lodash in a browser from a CDN
Go to a CDN site and select the version you want to use. Copy the link and use it for the script reference in your page.
<script src="https://cdn.jsdelivr.net/lodash/4.13.1/lodash.min.js"></script>
4.13.1 is current version at time of writing