# flat-util [![Build Status](https://travis-ci.com/jonkemp/flat-util.svg?branch=master)](https://travis-ci.com/jonkemp/flat-util) > Flatten a nested array. The nesting can be to any depth. If you pass shallow, the array will only be flattened one level. ## Features - Small utility to flatten nested arrays. - Free of TypeScript. 😄 ## Install Install with [npm](https://npmjs.org/package/flat-util) ``` $ npm install flat-util ``` Or [unpkg](https://unpkg.com/flat-util/) ```