docopt-cleanse
v0.1.0
Published
Clean up your docopt options post-parse
Downloads
2
Maintainers
Readme
node-docopt-cleanse
Clean up your docopt options
Example
var docoptCleanse = require('docopt-cleanse');
var options = {
'--some-option': '1234' // returned by docopt()
};
var cleansed = docoptCleanse(options);
console.log(cleansed.someOptions); // 1234
License
Licensed under the MIT License. You can find a copy of it in LICENSE.