get-parameter-names
v0.1.2 parameter argument function parse name
get-parameter-names
Retrieves the argument names of a function
Install
npm install get-parameter-names
Usage
function foo(bar, baz) {
return bar + baz
}
var get = require('get-parameter-names')
get(foo) // = ['bar', 'baz']
Tests
npm test
License
npm i [email protected]
Source Code
github.com/goatslacker/get-p...Metadata
- Unknown
- >= 0.4.0
- Josh Perez
- released 11/10/2013