@socketregistry/assert
v1.0.0
Published
Socket.dev optimized package override for assert
Downloads
75
Readme
@socketregistry/assert
A low dependency drop-in replacement of
assert
.
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/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 preferred package manager.
npm install @socketregistry/assert
Requirements
Node >= 18.20.4