Skip to main content

array.prototype.flat

v1.3.3LOW Risk

An ES2019 spec-compliant `Array.prototype.flat` shim/polyfill/replacement that works as far down as ES3.

A90/100
Install Command
npm install array.prototype.flat
orpnpm add array.prototype.flat
Typosquat Defense
Authentic Name

No similarity to known typosquatting targets.

Lifecycle Scripts
Clean Execution

Zero preinstall or postinstall arbitrary execution hooks.

License Type
MIT

Permissive open-source license. Safe for enterprise & proprietary software.

Package Specifications

Unpacked Size
19.3 KB
Dependencies
4
Maintainers
1
Last Published
Dec 15, 2024
Free VS Code Extension

Detect Supply Chain Attacks Directly in Your Editor

Get instant CodeLens risk scores, typosquatting warnings, and license audits right inside your package.json file with zero configuration.

Install Dependency Risk Lens

Frequently Asked Questions

Is array.prototype.flat safe to use in production?
array.prototype.flat received a Security Grade of A (90/100) with a risk evaluation of LOW. It contains zero malicious postinstall scripts.
What license does array.prototype.flat use?
array.prototype.flat is licensed under the MIT license (PERMISSIVE). This is a permissive open-source license suitable for commercial applications.
How do I install array.prototype.flat?
Install it via NPM using: npm install array.prototype.flat, or via PNPM: pnpm add array.prototype.flat, or Yarn: yarn add array.prototype.flat.