
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
lodash.map
Advanced tools
The lodash method _.map exported as a Node.js module.
Using npm:
$ {sudo -H} npm i -g npm
$ npm i --save lodash.map
In Node.js:
var map = require('lodash.map');
See the documentation or package source for more details.
Underscore is a JavaScript library that provides utility functions for common programming tasks. It includes a map function similar to lodash.map, but Lodash is generally considered to be faster and more modular.
Ramda is a functional programming library for JavaScript. It provides a map function that is similar to lodash.map but emphasizes immutability and function composition.
array-map is a lightweight package that provides a map function for arrays. It is less feature-rich compared to lodash.map but can be a good choice for simple use cases where a full utility library is not needed.
FAQs
The lodash method `_.map` exported as a module.
The npm package lodash.map receives a total of 1,222,857 weekly downloads. As such, lodash.map popularity was classified as popular.
We found that lodash.map demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
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.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.