flattenarrayes6
A javascript library that flattens a nested array into a single flat array.
Last updated 2 years ago by ioedeveloper .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install flattenarrayes6 
SYNC missed versions from official npm registry.

FLATTEN ARRAY

A javascript library that flattens a nested array into a single flat array.

How To Use

  1. run npm install flattenarrayes6 to download and install package.
  2.  const flat = require('flattenarrayes6');
     const nested_array = [1,[2,3],[5,[6,7],[8,9]]];
     const flattened_array = flat(nested_array);
     console.log(flattened_array);
    

Current Tags

  • 1.3.0                                ...           latest (2 years ago)

4 Versions

  • 1.3.0                                ...           2 years ago
  • 1.2.0                                ...           2 years ago
  • 1.1.0                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |