parse-fn-args

parse-fn-args =============

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
parse-fn-args
901.0.16 years ago11 years agoMinified + gzip package size for parse-fn-args in KB

Readme

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']

parse((a, b) => a + b) // -> ['a', 'b']

parse(a => a) // -> ['a']