$ npm install @socketregistry/array.fromA tested zero dependency drop-in replacement of
array.fromcomplete 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/array.from to your
package.json.
{
"overrides": {
"array.from": "npm:@socketregistry/array.from@^1"
},
"resolutions": {
"array.from": "npm:@socketregistry/array.from@^1"
}
}
Install with your favorite package manager.
npm install @socketregistry/array.from
Node >= 18.20.4