Lodash
{{Short description|JavaScript library in the functional programming paradigm}}
{{more citations needed|date=April 2021}}
{{Infobox software
| name = Lodash°
| title =
| logo = Lodash.svg
| logo caption =
| screenshot =
| caption =
| collapsible =
| author = John-David Dalton
| developer =
| released = {{Start date and age|2012|04|23}}[https://github.com/lodash/lodash/wiki/Changelog#v010 0.1 release information]
| latest release version = 4.17.21
| latest release date = {{Start date and age|2021|02|20}}{{cite web
| url = https://github.com/lodash/lodash/releases
| title = Releases · lodash/lodash
| website = github.com
| access-date = 2021-04-14
}}
| latest preview version =
| latest preview date =
| programming language = JavaScript
| operating system =
| platform =
| size =
| language =
| language count =
| language footnote =
| genre = JavaScript library
| license = MIT
| website =
}}
Lodash is a JavaScript library which provides utility functions for common programming tasks using the functional programming paradigm.
History
See also Underscore § History.
Lodash is a fork of Underscore.js.
It joined the Dojo Foundation in 2013,{{Cite web|title=Update license and copyright. · lodash/lodash@4edef4c|url=https://github.com/lodash/lodash/commit/4edef4c9595e2f2b7c9af236f8d6c67e7bc5d8fb|access-date=2020-06-26|website=GitHub|language=en}} and via the jQuery Foundation and JS Foundation, is now part of the OpenJS Foundation.{{Cite web|title=Update license to the jQuery Foundation. [ci skip] · lodash/lodash@cf74ebe|url=https://github.com/lodash/lodash/commit/cf74ebeb71028590e12d49d14a888bbef3c3169f|access-date=2020-06-26|website=GitHub|language=en}}
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, 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 not all functions are available in all implementations. For example, _.chunk
has only been available since version 3.0.0.
See also
{{Portal|Free and open-source software}}
References
{{Reflist}}
External links
- {{official website|https://lodash.com/}}
- [https://lodash.com/docs Documentation]
{{JS templating |state=autocollapse}}
{{NodeJs}}