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.3M
Last Published

Suggestions

Sort by

array-flatten

3.0.0

Flatten nested arrays

33.3M
NPMGitHub

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

30.3M

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

8.1M

Tool for deprecating things

174.7K

Inflate and deflate nested objects

2.2K

Escape RegExp special characters

155.4M

Follow for updates

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

@pkgland

📦 🏝