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

babel-plugin-lodash

Package Overview
Dependencies
Maintainers
2
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-lodash

Modular Lodash builds without the hassle.

  • 3.3.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
615K
decreased by-3.98%
Maintainers
2
Weekly downloads
 
Created

What is babel-plugin-lodash?

babel-plugin-lodash is a Babel plugin that cherry-picks Lodash modules so you only include the parts of Lodash you use, reducing bundle size and improving performance.

What are babel-plugin-lodash's main functionalities?

Cherry-picking Lodash modules

This feature allows you to import only the Lodash functions you need, rather than the entire library. This reduces the size of your JavaScript bundle.

import { map, filter } from 'lodash';

Automatic cherry-picking

Even if you import the entire Lodash library, babel-plugin-lodash will automatically transform your code to only include the specific functions you use.

import _ from 'lodash';
const result = _.map([1, 2, 3], n => n * 2);

Other packages similar to babel-plugin-lodash

Keywords

FAQs

Package last updated on 11 Jun 2018

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