Socket
Socket
Sign inDemoInstall

radio-symbol

Package Overview
Dependencies
4
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.2 to 1.0.3

6

package.json
{
"name": "radio-symbol",
"description": "Unicode radio button symbol, for toggling on/off in prompts.",
"version": "1.0.2",
"version": "1.0.3",
"homepage": "https://github.com/enquirer/radio-symbol",

@@ -27,2 +27,6 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)",

},
"devDependencies": {
"gulp-format-md": "^0.1.12",
"mocha": "^3.3.0"
},
"keywords": [

@@ -29,0 +33,0 @@ "cli",

41

README.md

@@ -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) [![Linux Build Status](https://img.shields.io/travis/enquirer/radio-symbol.svg?style=flat&label=Travis)](https://travis-ci.org/enquirer/radio-symbol) [![Windows Build Status](https://img.shields.io/appveyor/ci/enquirer/radio-symbol.svg?style=flat&label=AppVeyor)](https://ci.appveyor.com/project/enquirer/radio-symbol)

@@ -18,2 +18,3 @@ > Unicode radio button symbol, for toggling on/off in prompts.

## Install
Install with [npm](https://www.npmjs.com/):

@@ -27,13 +28,13 @@

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][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](https://github.com/jonschlinkert/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:

@@ -46,3 +47,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.

@@ -105,16 +106,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
### Building docs
### 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.)_

@@ -137,8 +138,10 @@

### 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).

@@ -149,4 +152,2 @@ 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 May 07, 2017._
[ansi-green]: https://github.com/jonschlinkert/ansi-green
_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on May 07, 2017._
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc