UNPKG

@ndhoule/arity

Version:

Wrap a function in a function that expects a given number of arguments.

18 lines (11 loc) 372 B
# arity [![CI][ci-badge]][ci-link] Wrap a function in a function that expects a given number of arguments. ## Installation ```sh $ component install ndhoule/arity $ npm install @ndhoule/arity ``` ## License Released under the [MIT license](LICENSE.md). [ci-link]: https://travis-ci.org/ndhoule/arity [ci-badge]: https://travis-ci.org/ndhoule/arity.svg?branch=master