Retrieves the argument names of a function
JavaScript
Latest commit 3ac003d Mar 22, 2016 @goatslacker 0.3.0
Permalink
Failed to load latest commit information.
test Adding support for some ES2015 features Mar 18, 2016
.gitignore Update .gitignore. Nov 11, 2013
.travis.yml Add .travis.yml. Nov 11, 2013
README.md Add badges. Nov 11, 2013
index.js Adding support for some ES2015 features Mar 18, 2016
package.json 0.3.0 Mar 22, 2016

README.md

Build Status NPM version Dependency Status

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

MIT