get-func-args
v1.0.4
Published
Get function arguments.
Downloads
19
Readme
get-func-args
This package is used to get function arguments for all function types.
Example
const getFuncArgs = require('get-func-args');
function f(a, b, { c, d = 2 }, e, f = 1) {
}
const args = getFuncArgs(f); // [ 'a', 'b', '{ c, d = 2 }', 'e', 'f = 1' ]
New features soon (arguments formatting)