Skip to content

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

License

Notifications You must be signed in to change notification settings

hughsk/maximist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 yield:

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

See Also

License

MIT. See LICENSE.md for details.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published