@ndhoule/arity

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

Usage no npm install needed!

<script type="module">
  import ndhouleArity from 'https://cdn.skypack.dev/@ndhoule/arity';
</script>

README

arity CI

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

Installation

$ component install ndhoule/arity
$ npm install @ndhoule/arity

License

Released under the MIT license.