smoosh-pollyfill

1.0.1 • Public • Published

Smoosh Pollyfill

Hey friend. Sad that TC39 didn't go with smoosh? Already baked it in to your business critical application, but the F key on your MacBook Pro 2016+ is broken, so you can't find+replace it?

You don't have to worry what a bunch of "industry professionals" say. "Web standards" are merely the painted lines on a road that we all agree to follow.

You're an adult. You can do what you want.

Fork reality and use smoosh today!

  1. npm install --save smoosh-pollyfill
  2. Use smoosh any way you'd use [].flat() or [].flatMap()
let smooshed = [1,[2,3,4,5]].smoosh(); // [1,2,3,4,5]

Hey, no worries, friend. You keep doing your thing.

Readme

Keywords

none

Package Sidebar

Install

npm i smoosh-pollyfill

Weekly Downloads

4

Version

1.0.1

License

MIT

Unpacked Size

998 B

Total Files

3

Last publish

Collaborators

  • scriptingjavas