2.0.0 • Published 3 years ago

hackparse v2.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

HackParse -- An Argv Parser

Parse command line parameters to a more readable JSON format.

Example:

parse = require("hackparse",['sample'])
console.log(parse(process.argv.slice(2)))

You can add Boolean parameters to the array, so you can use them anywhere without worrying about being parsed to non-Boolean values.

The above example --sample val will be parsed as { _: ['val'], help: true }

2.0.0

3 years ago

1.2.0

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago