arrayhelpers.js

0.1.0 • Public • Published

=======

Array helpers which are missing in Javascript

[].concatAll()

Flat one dimension a multi dimensional array.

[].concatMap()

Map over an array then flat one dimension.

[].reduce()

Always return an array to enable chaining and returns an empty array if that is passed, instead of an error like JS does.

Package Sidebar

Install

npm i arrayhelpers.js

Weekly Downloads

1

Version

0.1.0

License

ISC

Last publish

Collaborators

  • fatxx