node package manager
Stop writing boring code. Discover, share, and reuse within your team. Create a free org »

parse-fn-args

parse-fn-args

Parses function arguments.

Usage

var parse = require('parse-fn-args')
 
function fn (a, b, c) {}
 
var args = parse(fn) // -> ['a', 'b', 'c']