get-parameter-names

    0.3.0 • Public • Published

    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

    Install

    npm i get-parameter-names

    DownloadsWeekly Downloads

    4,185

    Version

    0.3.0

    License

    MIT

    Last publish

    Collaborators

    • goatslacker