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
Lodash
draws most of its ideas from Underscore.js and now receives maintenance from
the original contributors to Underscore.js.
Lodash
is a JavaScript library that helps programmers write more concise and easier to
maintain JavaScript.
It can be broken down into several main areas:
·
Utilities - for simplifying
common programming tasks such as determining type as well as simplifying math
operations.
·
Function - simplifying
binding, decorating, constraining, throttling, debouncing, currying, and changing
the pointer.
·
String - conversion
functions for performing basic string operations, such as trimming, converting
to uppercase, camel case, etc.
·
Array - creating,
splitting, combining, modifying, and compressing
·
Collection - iterating,
sorting, filtering, splitting, and building
·
Object - accessing,
extending, merging, defaults, and transforming
·
Seq - chaining, wrapping,
filtering, and testing.
It has had multiple releases, so all functions may not be
available in all implementations. For example, _.chunk has only been available
since version 3.0.0.