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