This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

fnc-args

1.0.1 • Public • Published

fnc-args

Get a function's arguments in JS

GitHub | NPM

Install

npm i fnc-args

Use

const fncArgs = require('fnc-args')
 
fncArgs((hey, hi) => {}) // ['hey', 'hi']
 
fncArgs(function (hey, hi) {}) // ['hey', 'hi']
 
fncArgs(async (hey, hi) => {}) // ['hey', 'hi']
 
fncArgs(hey => {}) // ['hey']

/fnc-args/

    Package Sidebar

    Install

    npm i fnc-args

    Weekly Downloads

    1

    Version

    1.0.1

    License

    SEE LICENSE IN LICENSE.md

    Last publish

    Collaborators

    • ethan_