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