Args.js
01/14/2014
by
At my day job, making wearable cameras, the Autographer, I've just released my first stab at useful open-source software.
Args.js is library for javascript that lets you specify function definitions. You can have optional arguments, named arguments, argument groups and default values for undefined arguments.
Have a look at the home page for examples and the code.
There was some discussion about it on Hacker News too.