negative
Parse object to cli arguments.
Last updated 5 years ago by kchan .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install negative 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.0.2                                ...           latest (5 years ago)

5 Versions

  • 0.0.2                                ...           5 years ago
  • 0.0.13                                ...           5 years ago
  • 0.0.12                                ...           5 years ago
  • 0.0.11                                ...           5 years ago
  • 0.0.1                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 1
Dependencies (1)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |