Jump to content
Wikipedia The Free Encyclopedia

Lodash

From Wikipedia, the free encyclopedia
JavaScript library in the functional programming paradigm
This article needs additional citations for verification . Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.
Find sources: "Lodash" – news · newspapers · books · scholar · JSTOR
(April 2021) (Learn how and when to remove this message)
Original author John-David Dalton
Initial releaseApril 23, 2012; 13 years ago (2012年04月23日)[1]
Stable release
4.17.21 / February 20, 2021; 4 years ago (2021年02月20日)[2]
Repository
Written inJavaScript
Type JavaScript library
License MIT
Websitelodash.com  Edit this on Wikidata

Lodash is a JavaScript library which provides utility functions for common programming tasks using the functional programming paradigm.

History

[edit ]

Lodash is a fork of Underscore.js.

It joined the Dojo Foundation in 2013,[3] and via the jQuery Foundation and JS Foundation, is now part of the OpenJS Foundation.[4]

Summary

[edit ]

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

[edit ]

References

[edit ]
  1. ^ 0.1 release information
  2. ^ "Releases · lodash/lodash". github.com. Retrieved 2021年04月14日.
  3. ^ "Update license and copyright. · lodash/lodash@4edef4c". GitHub. Retrieved 2020年06月26日.
  4. ^ "Update license to the jQuery Foundation. [ci skip] · lodash/lodash@cf74ebe". GitHub. Retrieved 2020年06月26日.
[edit ]

AltStyle によって変換されたページ (->オリジナル) /