maximist

1.0.0 • Public • Published

maximist

The opposite of minimist: take an object and turn it into an array of command-line arguments.

Usage

NPM

flags = maximist(args)

Converts the args object into flags. For example, the following:

require('maximist')({
    hello: 'world'
  , spin: false
})

Should yeild:

['--hello', 'world', '--no-spin']

License

MIT. See LICENSE.md for details.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    2

Package Sidebar

Install

npm i maximist

Weekly Downloads

2

Version

1.0.0

License

MIT

Last publish

Collaborators

  • hughsk