argwrap

Scans a given argument and detects its arguments, than maps those onto an object through a wrapper function which can be called whenever. Makes it easy to provide plugins that have a dynamic order or set of arguments with multiple names.

Usage no npm install needed!

<script type="module">
  import argwrap from 'https://cdn.skypack.dev/argwrap';
</script>

README

Package Version Build Status Coverage Status Apache License 2.0 Gratipay Tips

node-argwrap

Scans a given argument and detects its arguments, than maps those onto an object through a wrapper function which can be called whenever. Makes it easy to provide plugins that have a dynamic order or set of arguments with multiple names.

See the testing source for how to use this library.

npm install -g argwrap

legal

node-argwrap is licensed under Apache License 2.0