argnames

0.0.2 • Public • Published

argnames

console.log(arguments) replacement

usage:

var argnames = require('argnames');
function test(wow, such, args, here) {
  // code code
  argnames.dump();
  // code.code
}
 
test('foo', 'bar', 1, {});
 

prints

{ wow: 'foo',
  such: 'bar',
  args: 1,
  here: {} }

see also

https://github.com/ifit/Argue

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.2
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.2
    2
  • 0.0.1
    0

Package Sidebar

Install

npm i argnames

Weekly Downloads

2

Version

0.0.2

License

MIT

Last publish

Collaborators

  • sidorares