update deps
This commit is contained in:
6
node_modules/optionator/README.md
generated
vendored
6
node_modules/optionator/README.md
generated
vendored
@@ -1,7 +1,7 @@
|
||||
# Optionator
|
||||
<a name="optionator" />
|
||||
|
||||
Optionator is a JavaScript option parsing and help generation library used by [eslint](http://eslint.org), [Grasp](http://graspjs.com), [LiveScript](http://livescript.net), [esmangle](https://github.com/estools/esmangle), [escodegen](https://github.com/estools/escodegen), and [many more](https://www.npmjs.com/browse/depended/optionator).
|
||||
Optionator is a JavaScript/Node.js option parsing and help generation library used by [eslint](http://eslint.org), [Grasp](http://graspjs.com), [LiveScript](http://livescript.net), [esmangle](https://github.com/estools/esmangle), [escodegen](https://github.com/estools/escodegen), and [many more](https://www.npmjs.com/browse/depended/optionator).
|
||||
|
||||
For an online demo, check out the [Grasp online demo](http://www.graspjs.com/#demo).
|
||||
|
||||
@@ -23,12 +23,14 @@ Other helpful features include reformatting the help text based on the size of t
|
||||
## About
|
||||
Optionator uses [type-check](https://github.com/gkz/type-check) and [levn](https://github.com/gkz/levn) behind the scenes to cast and verify input according the specified types.
|
||||
|
||||
MIT license. Version 0.8.2
|
||||
MIT license. Version 0.8.3
|
||||
|
||||
npm install optionator
|
||||
|
||||
For updates on Optionator, [follow me on twitter](https://twitter.com/gkzahariev).
|
||||
|
||||
Optionator is a Node.js module, but can be used in the browser as well if packed with webpack/browserify.
|
||||
|
||||
## Usage
|
||||
`require('optionator');` returns a function. It has one property, `VERSION`, the current version of the library as a string. This function is called with an object specifying your options and other information, see the [settings format section](#settings-format). This in turn returns an object with three properties, `parse`, `parseArgv`, `generateHelp`, and `generateHelpForOption`, which are all functions.
|
||||
|
||||
|
Reference in New Issue
Block a user