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