0.9.2 • Published 6 years ago

icemaker-unpack v0.9.2

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

icemaker-unpack

Synopsis

Spread object proporties or array elements into a callback function. It makes unit tests more expressive and concise.

Usage

.. code-block:: javascript

var numbers = { "one": 1, "two": 2, "three": 3 }

const unpack = require('icemaker-unpack'); unpack(numbers, (one, two, three) => { let sum = one + two + three; assert sum === 6 });

License

MIT_

.. _MIT: LICENSE

0.9.2

6 years ago

0.9.1

6 years ago

0.9.0

6 years ago