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.

Browse on unpkg