Socket
Socket
Sign inDemoInstall

lodash-es

Package Overview
Dependencies
0
Maintainers
3
Versions
67
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    lodash-es

Lodash exported as ES modules.


Version published
Weekly downloads
9.7M
increased by3.4%
Maintainers
3
Install size
622 kB
Created
Weekly downloads
 

Package description

What is lodash-es?

The lodash-es package is a variant of Lodash, optimized for tree-shaking and ES module syntax. It provides utility functions for common programming tasks, including manipulating arrays, objects, and strings, as well as utilities for functions, logic, and math operations.

What are lodash-es's main functionalities?

Array Manipulation

Lodash-es provides functions to work with arrays, such as map, filter, and reduce, similar to those found in native JavaScript but with additional capabilities and optimizations.

[1, 2, 3].map(n => n * 3)

Object Manipulation

It offers a suite of tools for manipulating objects, such as merging, cloning, and deep property access.

_.assign({ 'a': 1 }, { 'b': 2 }, { 'c': 3 })

String Manipulation

Lodash-es includes methods for string manipulation, such as case conversion, trimming, and splitting strings.

_.kebabCase('Foo Bar')

Function Utilities

The package provides utilities for functions, such as debounce and throttle, which are useful for optimizing performance for actions that should not happen too frequently.

_.debounce(func, [wait=0], [options={}])

Logic Operations

Lodash-es has functions to perform logical operations, such as checking if a value is empty, equal to another, or matches a certain condition.

_.isEmpty({})

Math Operations

It also includes utilities for math operations, such as add, subtract, multiply, and divide, as well as more complex mathematical computations.

_.add(6, 4)

Other packages similar to lodash-es

Readme

Source

lodash-es v4.17.21

The Lodash library exported as ES modules.

Generated using lodash-cli:

$ lodash modularize exports=es -o ./

See the package source for more details.

Keywords

FAQs

Last updated on 20 Feb 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc