@socketregistry/string.prototype.repeat
v1.0.0
Published
Socket.dev optimized package override for string.prototype.repeat
Downloads
71
Readme
@socketregistry/string.prototype.repeat
A zero dependency drop-in replacement of
string.prototype.repeat
.
Installation
Install as a package override
@socketsecurity/cli
will
automagically :sparkles: populate the
overrides
and resolutions fields
of your package.json
.
npx @socketsecurity/cli optimize
Prefer to do it yourself? You may manually add
@socketregistry/string.prototype.repeat
to your package.json
.
{
"overrides": {
"string.prototype.repeat": "npm:@socketregistry/string.prototype.repeat@^1"
},
"resolutions": {
"string.prototype.repeat": "npm:@socketregistry/string.prototype.repeat@^1"
}
}
Install as a plain dependency
Install with your preferred package manager.
npm install @socketregistry/string.prototype.repeat
Requirements
Node >= 18.20.4