/flatten-2D-point-ar

Point array to 1D-array module - deprecated

Primary LanguageJavaScriptMIT LicenseMIT

flatten-2D-point-ar

deprecated

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]