Skip to content

egoist/negative

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

negative Build Status

Parse object to cli arguments. It does exactly the opposite of what minimist does.

Installation

npm install negative

Example

import negative from 'negative';
// simple
// return `entry.js dist.js --verbose -o output.js --no-quiet`
negative({
  _: ['entry.js'],
  verbose: true,
  o: 'output.js',
  noQuiet: true
});
// with a command prefix
// return `mocha test.js --require babel-core/registry`
negative({
  _: ['test.js'],
  require: 'babel-core/registry'
}, 'mocha');

License

MIT © EGOIST

About

Parse object to cli arguments.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published