@socketregistry/safer-buffer
v1.0.5
Published
Socket.dev optimized package override for safer-buffer
Downloads
4,446
Readme
@socketregistry/safer-buffer
A tested zero dependency drop-in replacement of
safer-buffer
complete with TypeScript types.
Installation
Install as a package override
socket
CLI will automagically ✨
populate
overrides
and resolutions of
your package.json
.
npx socket optimize
Prefer to do it yourself? Add @socketregistry/safer-buffer
to your
package.json
.
{
"overrides": {
"safer-buffer": "npm:@socketregistry/safer-buffer@^1"
},
"resolutions": {
"safer-buffer": "npm:@socketregistry/safer-buffer@^1"
}
}
Install as a plain dependency
Install with your favorite package manager.
npm install @socketregistry/safer-buffer
Requirements
Node >= 18.20.4