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
3.1M
Last Published

Suggestions

Sort by

array-flatten

3.0.0

Flatten nested arrays

37.9M
NPMGitHub

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

34.5M

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

9M

Tool for deprecating things

230.4K

Inflate and deflate nested objects

2.1K

Escape RegExp special characters

175.4M

Follow for updates

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

@pkgland

📦 🏝