Nitrogen Poisonous Monoxide
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    retrieve-argumentspublic

    retrieve-arguments

    Build Status

    Retrieves the argumentnames of a function

    Installation

    npm install retrieve-arguments

    Usage

    var retrieveArguments = require('retrieve-arguments');
     
    retrieveArguments(function(element, index, array) {/*...*/}); // => ['element', 'index', 'array']
    retrieveArguments(function() {/*...*/}); // => []
    retrieveArguments(function ( test ){/*...*/}); // => ['test']

    CLI

    $ retrieve-arguments node_modules/minimist
    $ retrieve-arguments ./index.js
    $ retrieve-arguments node_modules/minimist ./index.js

    install

    npm i retrieve-arguments

    Downloadsweekly downloads

    3,009

    version

    1.0.1

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar