HOME

TheInfoList



OR:

Lodash is a
JavaScript JavaScript (), often abbreviated as JS, is a programming language that is one of the core technologies of the World Wide Web, alongside HTML and CSS. As of 2022, 98% of websites use JavaScript on the client side for webpage behavior, often ...
library which provides utility functions for common programming tasks using the
functional programming In computer science, functional programming is a programming paradigm where programs are constructed by applying and composing functions. It is a declarative programming paradigm in which function definitions are trees of expressions that ...
paradigm.


History

''See also Underscore ยง History.'' Lodash is a
fork In cutlery or kitchenware, a fork (from la, furca 'pitchfork') is a utensil, now usually made of metal, whose long handle terminates in a head that branches into several narrow and often slightly curved tines with which one can spear foods ei ...
of Underscore.js. It joined the Dojo Foundation in 2013, and via the jQuery Foundation and JS Foundation, is now part of the
OpenJS Foundation The OpenJS Foundation is an organization that was founded in 2019 from a merger of JS Foundation and Node.js Foundation. OpenJS Promotes the JavaScript and web ecosystem by hosting projects and funds activities that benefit the ecosystem. The OpenJ ...
.


Summary

Lodash is a JavaScript library that helps programmers write more concise and maintainable 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 In mathematics and computer science, currying is the technique of translating the evaluation of a function that takes multiple arguments into evaluating a sequence of functions, each with a single argument. For example, currying a function f th ...
, and changing the pointer. * String: conversion functions for performing basic string operations, such as trimming, converting to uppercase,
camel case Camel case (sometimes stylized as camelCase or CamelCase, also known as camel caps or more formally as medial capitals) is the practice of writing phrases without spaces or punctuation. The format indicates the separation of words with a single ...
, 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 not all functions are available in all implementations. For example, _.chunk has only been available since version 3.0.0.


See also

* Underscore.js * Prototype.js


References


External links

*
Documentation
{{NodeJs JavaScript libraries