getarg Reads from a formatted string like --arg-name npm install @ethiclab/getarg usage const process = require('process') const getarg = require("@ethiclab/getarg") const _argname = getarg(process.argv, "--arg-name", "some optional default")