Search results

1000+ packages found

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

published version 1.3.3, 7 months ago947 dependents licensed under $MIT
162,105,552

Flatten nested arrays

published version 3.0.0, 6 years ago1061 dependents licensed under $MIT
187,083,775

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

published version 1.3.3, 7 months ago1078 dependents licensed under $MIT
148,617,830

Recursively flatten an array or arrays.

published version 1.1.0, 8 years ago813 dependents licensed under $MIT
74,977,324

Take a nested Javascript object and flatten it, or unflatten an object with delimited keys

published version 6.0.1, 2 years ago2871 dependents licensed under $BSD-3-Clause
99,241,184

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

published version 4.4.0, 9 years ago861 dependents licensed under $MIT
44,170,046

Array methods for ES6 Iterators

published version 1.2.1, 5 years ago120 dependents licensed under $ISC
20,175,477

Isomorphic map-reduce function to flatten an array into the supplied array

published version 3.0.1, 4 years ago41 dependents licensed under $MIT
8,458,934

Utility functions to deal with references in objects

published version 1.1.9, 4 years ago39 dependents licensed under $BSD-3-Clause
9,542,076

A tiny (203B) and fast utility to flatten an object with customizable glue

published version 1.1.1, a year ago21 dependents licensed under $MIT
2,454,379
published version 0.1.3, 3 years ago11 dependents licensed under $MIT
1,709,430

flattens nested vertex data into a typed array

published version 1.0.2, 7 years ago15 dependents licensed under $MIT
1,188,843

transform geojson into single-parts

published version 1.1.1, 3 years ago20 dependents licensed under $BSD-2-Clause
1,133,130

Flattens React children and fragments to an array with predictable and stable keys

published version 5.0.0, 5 months ago107 dependents licensed under $MIT
779,147

A polyfill for Array.prototype.flat and Array.prototype.flatMap

published version 1.0.1, 6 years ago100 dependents licensed under $CC0-1.0
1,212,564

Safely flatten a nested JavaScript object.

published version 2.1.0, 2 years ago31 dependents licensed under $MIT
571,997

Flatten a nested array.

published version 1.1.11, 6 months ago1 dependents licensed under $MIT
704,966

remove or replace relative path for files

published version 0.4.0, 8 years ago203 dependents licensed under $MIT
329,980

Transform objects to MongoDB update instructions

published version 3.1.1, a year ago14 dependents licensed under $MIT
185,917

Compose an array of middleware into a single function for use in Express, Connect, router, etc.

published version 5.0.1, 7 years ago140 dependents licensed under $MIT
233,129