funny-flatten

1.0.2 • Public • Published

flatten

Simple modules for functional programming, done for fun.

Usage

import flatten from 'funny-flatten'
 
flatten([1, [2, 3]]) // [1, 2, 3]

License

The MIT License (MIT). Copyright (c) 2016 Luís Rodrigues.

Package Sidebar

Install

npm i funny-flatten

Weekly Downloads

1

Version

1.0.2

License

MIT

Last publish

Collaborators

  • goblindegook