steamrollerer
v0.0.0
Published
Flatten a nested arrays in array
Downloads
3
Readme
steamrollerer
Flatten a nested arrays in array
Install
$ npm install --save steamrollerer
Usage
var steamroller = require('steamrollerer');
steamroller([1, 2, [1, [2, 3]]]);
//=> [1, 2, 1, 2, 3]
API
steamrollerer(input)
input
Required
Type: array
Should be an array.
License
MIT © drKraken