Skip to content
Retrieves the argument names of a function
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
test
.gitignore
.travis.yml
README.md
index.js
package.json

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

Something went wrong with that request. Please try again.