Remove lodash as an entire dependency
See original GitHub issueI just ran
npm la lodash
in my project and I see this
suman-utils@0.0.73121
│ /Users/alexamil/WebstormProjects/oresoftware/sumanjs/suman-utils
│ Shared module within the Suman test runner ecosystem
│ git+https://github.com/sumanjs/suman-utils.git
│ https://github.com/sumanjs/suman-utils#readme
└─┬ async@2.5.0
│ Higher-order functions and common patterns for asynchronous code
│ git+https://github.com/caolan/async.git
│ https://github.com/caolan/async#readme
└── lodash@4.17.4
Lodash modular utilities.
git+https://github.com/lodash/lodash.git
https://lodash.com/
so it looks like async
depends on lodash, but when I look at the async v2.6.0 package.json, I don’t see lodash as a dependency.
I was simply wondering if async could depend on:
lodash.x
// import only the functions from lodash that async needs
instead of importing all of lodash.
let me know how async does it, thanks
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Get rid of whole lodash dependency when importing rx.js in ...
Does anyone have experience how to remove whole lodash from a project if it contains rx.js? Please, share you experience. Here is my...
Read more >Uninstalling packages and dependencies
To uninstall an unscoped global package, on the command line, use the uninstall command with the -g flag. Include the scope if the...
Read more >lodash.remove - npm Package Health Analysis
The npm package lodash.remove was scanned for known vulnerabilities and missing license, and no issues were found. Thus the package was deemed as...
Read more >Lodash in 2022: necessary or obsolete? - Nico Zerpa
If you use Lodash just for these utilities, you can replace with Vanilla and remove the dependency. Concatenate arrays, without mutating the ...
Read more >Custom Builds
To top it off, we handle all function dependency & alias mapping for you. ... to pass comma separated function/category names to remove...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I also have the disk footprint issue. async is 840k, lodash 5.1M!
yeah personally I am more concerned about footprint on disk than install speed, but yeah