diff options
Diffstat (limited to 'lib/dargs.js')
-rw-r--r-- | lib/dargs.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/dargs.js b/lib/dargs.js new file mode 100644 index 0000000..191ab44 --- /dev/null +++ b/lib/dargs.js | |||
@@ -0,0 +1,7 @@ | |||
1 | 'use strict'; | ||
2 | |||
3 | var dargs = require('dargs'); | ||
4 | |||
5 | module.exports = function (obj) { | ||
6 | return dargs(obj, { ignoreFalse: true }); | ||
7 | }; \ No newline at end of file | ||