$ npm install @socketregistry/for-eachA tested zero dependency drop-in replacement of
for-eachcomplete with TypeScript types.
socket CLI will automagically ✨
populate
overrides
and resolutions of
your package.json.
npx socket optimize
Prefer to do it yourself? Add @socketregistry/for-each to your package.json.
{
"overrides": {
"for-each": "npm:@socketregistry/for-each@^1"
},
"resolutions": {
"for-each": "npm:@socketregistry/for-each@^1"
}
}
Install with your favorite package manager.
npm install @socketregistry/for-each
Node >= 18.20.4