get-parameter-names
Retrieves parameter names from a function
Last updated 10 years ago by goatslacker .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install get-parameter-names 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.3.0                                ...           latest (10 years ago)

6 Versions

  • 0.3.0                                ...           10 years ago
  • 0.2.0                                ...           12 years ago
  • 0.1.2                                ...           12 years ago
  • 0.1.1                                ...           13 years ago
  • 0.1.0                                ...           13 years ago
  • 0.0.1                                ...           13 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (0)
None
Dev Dependencies (2)
Dependents (2)

Copyright 2013 - present © cnpmjs.org | Home |