Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lodash-es

Package Overview
Dependencies
Maintainers
3
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lodash-es

Lodash exported as ES modules.

  • 4.17.21
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
12M
decreased by-2.14%
Maintainers
3
Weekly downloads
 
Created

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

Keywords

FAQs

Package last updated on 20 Feb 2021

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc