2.0.0 • Published 2 years ago

hackparse v2.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 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

2 years ago

1.2.0

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago