m.flatten m(icro)flatten is a simple array flatten implementation written in es6+ install npm install m.flatten usage const {flatten} = require('m.flatten') flatten(['a', [ 'b', 'c' ]]) // [ 'a', 'b', 'c' ]