Noteworthy Programming Masterpiece
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

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

install

npm i argnames

Downloadsweekly downloads

1

version

0.0.2

license

MIT

repository

githubgithub

last publish

collaborators

  • avatar