UNPKG

fargv

Version:

Multi-customizable parser of process.argv for nodejs.

11 lines (6 loc) 220 B
const isObject = require("../../dependencies/isObject"); const createOptionsIfNotExists = function() { if(!isObject(this._options)) this._options = {}; return this; }; module.exports = createOptionsIfNotExists;