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