Skip to content

ioedeveloper/flattenarray

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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);
    

About

Flatten Array ES6

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published