@socketregistry/assert
v1.0.10
Published
Socket.dev optimized package override for assert
Downloads
2,352
Readme
@socketregistry/assert
A tested zero dependency drop-in replacement of
assert
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/assert
to your package.json
.
{
"overrides": {
"assert": "npm:@socketregistry/assert@^1"
},
"resolutions": {
"assert": "npm:@socketregistry/assert@^1"
}
}
Install as a plain dependency
Install with your favorite package manager.
npm install @socketregistry/assert
Requirements
Node >= 18.20.4