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
$ npm install flatten-point-ar
flatten = require('flatten-point-ar')
flatten([[1,2], [3,4], [5,6]]) // => [1, 2, 3, 4, 5, 6]