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