@socketregistry/array-flatten
A tested zero dependency drop-in replacement of
array-flatten
complete with
TypeScript types.
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/array-flatten
to your package.json
.
{
"overrides": {
"array-flatten": "npm:@socketregistry/array-flatten@^1"
},
"resolutions": {
"array-flatten": "npm:@socketregistry/array-flatten@^1"
}
}
Install as a plain dependency
Install with your preferred package manager.
npm install @socketregistry/array-flatten
Requirements
Node >= 18.20.4