get-params
Get a list of function's argument variable names (parameters).
Install
$ npm install --save get-params
Usage
var getParams = ; var { return 'blah';}; var params = ;console; // ['one', 'two', 'three']
Browser
You can also run it in the browser. Install it with bower:
$ bower install --save get-params
Include the script in your HTML:
The library will be available in window.GetParams
:
var params = ;
License
MIT © Fahad Ibnay Heylaal