radio-symbol
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "radio-symbol", | ||
"description": "Unicode radio button symbol, for toggling on/off in prompts.", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"homepage": "https://github.com/enquirer/radio-symbol", | ||
@@ -27,5 +27,2 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", | ||
}, | ||
"devDependencies": { | ||
"gulp-format-md": "^0.1.10" | ||
}, | ||
"keywords": [ | ||
@@ -57,6 +54,2 @@ "cli", | ||
}, | ||
"reflinks": [ | ||
"verb", | ||
"verb-generate-readme" | ||
], | ||
"lint": { | ||
@@ -63,0 +56,0 @@ "reflinks": true |
@@ -1,2 +0,2 @@ | ||
# radio-symbol [![NPM version](https://img.shields.io/npm/v/radio-symbol.svg?style=flat)](https://www.npmjs.com/package/radio-symbol) [![NPM monthly downloads](https://img.shields.io/npm/dm/radio-symbol.svg?style=flat)](https://npmjs.org/package/radio-symbol) [![NPM total downloads](https://img.shields.io/npm/dt/radio-symbol.svg?style=flat)](https://npmjs.org/package/radio-symbol) | ||
# radio-symbol [![NPM version](https://img.shields.io/npm/v/radio-symbol.svg?style=flat)](https://www.npmjs.com/package/radio-symbol) [![NPM monthly downloads](https://img.shields.io/npm/dm/radio-symbol.svg?style=flat)](https://npmjs.org/package/radio-symbol) [![NPM total downloads](https://img.shields.io/npm/dt/radio-symbol.svg?style=flat)](https://npmjs.org/package/radio-symbol) | ||
@@ -18,3 +18,2 @@ > Unicode radio button symbol, for toggling on/off in prompts. | ||
## Install | ||
Install with [npm](https://www.npmjs.com/): | ||
@@ -26,21 +25,15 @@ | ||
Install with [yarn](https://yarnpkg.com): | ||
```sh | ||
$ yarn add radio-symbol | ||
``` | ||
## Styles | ||
Have an idea for another radio-symbol style? [Pull requests](../../issues) greatly appreciated! | ||
Have an idea for another radio-symbol style? [Pull requests](../../issues) greatly appreciated! | ||
## Usage | ||
* All of the `off` states are unstyled. | ||
* All of the `on` states are styled using [ansi green](https://github.com/jonschlinkert/ansi-green). | ||
* All of the `disabled` states are styled using [ansi gray](ansi-gray). | ||
- All of the `off` states are unstyled. | ||
- All of the `on` states are styled using [ansi green][ansi-green]. | ||
- All of the `disabled` states are styled using [ansi gray](ansi-gray). | ||
**Unstyled** | ||
A `.nocolor` property is exposed with all states unstyled: | ||
A `.nocolor` property is exposed with all states unstyled: | ||
@@ -53,3 +46,3 @@ ```js | ||
The main export is a circle. This is the only symbol that has a windows-specific alternative. | ||
The main export is a circle. This is the only symbol that has a windows-specific alternative. | ||
@@ -112,16 +105,16 @@ _(I haven't tested the star or ballot symbols on windows, if you try them [let us know](../../issues/new) if they have issues!)._ | ||
## About | ||
### Related projects | ||
- [error-symbol](https://www.npmjs.com/package/error-symbol): Cross-platform error symbol. | [homepage](https://github.com/jonschlinkert/error-symbol "Cross-platform error symbol.") | ||
- [info-symbol](https://www.npmjs.com/package/info-symbol): Cross-platform info symbol. | [homepage](https://github.com/jonschlinkert/info-symbol "Cross-platform info symbol.") | ||
- [success-symbol](https://www.npmjs.com/package/success-symbol): Cross-platform success symbol. | [homepage](https://github.com/jonschlinkert/success-symbol "Cross-platform success symbol.") | ||
- [warning-symbol](https://www.npmjs.com/package/warning-symbol): Cross-platform warning symbol. | [homepage](https://github.com/jonschlinkert/warning-symbol "Cross-platform warning symbol.") | ||
* [error-symbol](https://www.npmjs.com/package/error-symbol): Cross-platform error symbol. | [homepage](https://github.com/jonschlinkert/error-symbol "Cross-platform error symbol.") | ||
* [info-symbol](https://www.npmjs.com/package/info-symbol): Cross-platform info symbol. | [homepage](https://github.com/jonschlinkert/info-symbol "Cross-platform info symbol.") | ||
* [success-symbol](https://www.npmjs.com/package/success-symbol): Cross-platform success symbol. | [homepage](https://github.com/jonschlinkert/success-symbol "Cross-platform success symbol.") | ||
* [warning-symbol](https://www.npmjs.com/package/warning-symbol): Cross-platform warning symbol. | [homepage](https://github.com/jonschlinkert/warning-symbol "Cross-platform warning symbol.") | ||
### Contributing | ||
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new). | ||
### Contributors | ||
### Release history | ||
### Building docs | ||
_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_ | ||
@@ -144,10 +137,8 @@ | ||
### Author | ||
**Jon Schlinkert** | ||
* [github/jonschlinkert](https://github.com/jonschlinkert) | ||
* [twitter/jonschlinkert](https://twitter.com/jonschlinkert) | ||
+ [github/jonschlinkert](https://github.com/jonschlinkert) | ||
+ [twitter/jonschlinkert](https://twitter.com/jonschlinkert) | ||
### License | ||
Copyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert). | ||
@@ -158,2 +149,4 @@ Released under the [MIT License](LICENSE). | ||
_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on April 28, 2017._ | ||
_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on May 07, 2017._ | ||
[ansi-green]: https://github.com/jonschlinkert/ansi-green |
0
7125
146