Just a cleaned up process.argv
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
README.md
package.json

README.md

just-args

really, nothing special, just a cleaned up process.argv

// usage
var args = require('just-args');

// C:\\folder\node.exe file.js a b c
// ~/node/bin/node file.js a b c
// node file.js a b c
// ./file.js a b c
console.log(args); // ['a', 'b', 'c']