JSPM

get-parameter-names

0.1.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 7004
  • Score
    100M100P100Q134218F

Retrieves parameter names from a function

Package Exports

  • get-parameter-names

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (get-parameter-names) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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