node package manager
Stop wasting time. Easily manage code sharing in your team. Create a free org »

argnames

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