get-parameter-names
Retrieves parameter names from a function
Last updated 3 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 (3 years ago)

6 Versions

  • 0.3.0                                ...           3 years ago
  • 0.2.0                                ...           6 years ago
  • 0.1.2                                ...           6 years ago
  • 0.1.1                                ...           6 years ago
  • 0.1.0                                ...           6 years ago
  • 0.0.1                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 16
This Month 95
Last Day 2
Last Week 18
Last Month 87
Dependencies (0)
None
Dev Dependencies (2)

Copyright 2014 - 2016 © taobao.org |