0.0.1 • Published 9 years ago
flatten-point-ar v0.0.1
flatten-2D-point-ar
Deprecated - with browserify I recommend using require('lodash/array/flatten')
- this will only include lodash's flatten in the bundle
Simple point array to 1D-array module
Install
$ npm install flatten-point-ar
Usage
flatten = require('flatten-point-ar')
flatten([[1,2], [3,4], [5,6]]) // => [1, 2, 3, 4, 5, 6]