pkg.land
Beta
flatten

1.0.3

Flatten arbitrarily nested arrays into a non-nested list of non-array items. Maintained for legacy compatibility.

Weekly Downloads
2.6M
Last Published

Suggestions

Sort by

array-flatten

3.0.0

Flatten nested arrays

36.3M
NPMGitHub

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

33.9M

The lodash method `_.flatten` exported as a module.

8.8M

Tool for deprecating things

233.3K

Inflate and deflate nested objects

1.9K

Escape RegExp special characters

173.3M

Follow for updates

Keep up-to-date with new features, changelog and more

@pkgland

📦 🏝