116 lines
6.8 KiB
JSON
116 lines
6.8 KiB
JSON
{
|
||
"_args": [
|
||
[
|
||
{
|
||
"raw": "figures@^2.0.0",
|
||
"scope": null,
|
||
"escapedName": "figures",
|
||
"name": "figures",
|
||
"rawSpec": "^2.0.0",
|
||
"spec": ">=2.0.0 <3.0.0",
|
||
"type": "range"
|
||
},
|
||
"/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/inquirer"
|
||
]
|
||
],
|
||
"_from": "figures@>=2.0.0 <3.0.0",
|
||
"_id": "figures@2.0.0",
|
||
"_inCache": true,
|
||
"_location": "/figures",
|
||
"_nodeVersion": "4.6.0",
|
||
"_npmOperationalInternal": {
|
||
"host": "packages-12-west.internal.npmjs.com",
|
||
"tmp": "tmp/figures-2.0.0.tgz_1476763139845_0.48903139564208686"
|
||
},
|
||
"_npmUser": {
|
||
"name": "sindresorhus",
|
||
"email": "sindresorhus@gmail.com"
|
||
},
|
||
"_npmVersion": "2.15.9",
|
||
"_phantomChildren": {},
|
||
"_requested": {
|
||
"raw": "figures@^2.0.0",
|
||
"scope": null,
|
||
"escapedName": "figures",
|
||
"name": "figures",
|
||
"rawSpec": "^2.0.0",
|
||
"spec": ">=2.0.0 <3.0.0",
|
||
"type": "range"
|
||
},
|
||
"_requiredBy": [
|
||
"/inquirer"
|
||
],
|
||
"_resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz",
|
||
"_shasum": "3ab1a2d2a62c8bfb431a0c94cb797a2fce27c962",
|
||
"_shrinkwrap": null,
|
||
"_spec": "figures@^2.0.0",
|
||
"_where": "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/inquirer",
|
||
"author": {
|
||
"name": "Sindre Sorhus",
|
||
"email": "sindresorhus@gmail.com",
|
||
"url": "sindresorhus.com"
|
||
},
|
||
"bugs": {
|
||
"url": "https://github.com/sindresorhus/figures/issues"
|
||
},
|
||
"dependencies": {
|
||
"escape-string-regexp": "^1.0.5"
|
||
},
|
||
"description": "Unicode symbols with Windows CMD fallbacks",
|
||
"devDependencies": {
|
||
"ava": "*",
|
||
"markdown-table": "^1.0.0",
|
||
"require-uncached": "^1.0.2",
|
||
"xo": "*"
|
||
},
|
||
"directories": {},
|
||
"dist": {
|
||
"shasum": "3ab1a2d2a62c8bfb431a0c94cb797a2fce27c962",
|
||
"tarball": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz"
|
||
},
|
||
"engines": {
|
||
"node": ">=4"
|
||
},
|
||
"files": [
|
||
"index.js"
|
||
],
|
||
"gitHead": "fee8887d9f776798ae87ff54386443273c92ad97",
|
||
"homepage": "https://github.com/sindresorhus/figures#readme",
|
||
"keywords": [
|
||
"unicode",
|
||
"cli",
|
||
"cmd",
|
||
"command-line",
|
||
"characters",
|
||
"char",
|
||
"symbol",
|
||
"symbols",
|
||
"figure",
|
||
"figures",
|
||
"fallback"
|
||
],
|
||
"license": "MIT",
|
||
"maintainers": [
|
||
{
|
||
"name": "sindresorhus",
|
||
"email": "sindresorhus@gmail.com"
|
||
}
|
||
],
|
||
"name": "figures",
|
||
"optionalDependencies": {},
|
||
"readme": "# figures [![Build Status: Linux](https://travis-ci.org/sindresorhus/figures.svg?branch=master)](https://travis-ci.org/sindresorhus/figures) [![Build status: Windows](https://ci.appveyor.com/api/projects/status/mb743hl70269be3r/branch/master?svg=true)](https://ci.appveyor.com/project/sindresorhus/figures/branch/master)\n\n> Unicode symbols with Windows CMD fallbacks\n\n[![](screenshot.png)](index.js)\n\n[*and more...*](index.js)\n\nWindows CMD only supports a [limited character set](http://en.wikipedia.org/wiki/Code_page_437).\n\n\n## Install\n\n```\n$ npm install --save figures\n```\n\n\n## Usage\n\nSee the [source](index.js) for supported symbols.\n\n```js\nconst figures = require('figures');\n\nconsole.log(figures('✔︎ check'));\n// On real OSes: ✔︎ check\n// On Windows: √ check\n\nconsole.log(figures.tick);\n// On real OSes: ✔︎\n// On Windows: √\n```\n\n\n## API\n\n### figures(input)\n\nReturns the input with replaced fallback unicode symbols on Windows.\n\nAll the below [figures](#figures) are attached to the main export as shown in the example above.\n\n#### input\n\nType: `string`\n\nString where the unicode symbols will be replaced with fallback symbols depending on the OS.\n\n\n## Figures\n\n| Name | Real OSes | Windows |\n| ------------------ | :-------: | :-----: |\n| tick | ✔ | √ |\n| cross | ✖ | × |\n| star | ★ | * |\n| square | ▇ | █ |\n| squareSmall | ◻ | [ ] |\n| squareSmallFilled | ◼ | [█] |\n| play | ▶ | ► |\n| circle | ◯ | ( ) |\n| circleFilled | ◉ | (*) |\n| circleDotted | ◌ | ( ) |\n| circleDouble | ◎ | ( ) |\n| circleCircle | ⓞ | (○) |\n| circleCross | ⓧ | (×) |\n| circlePipe | Ⓘ | (│) |\n| circleQuestionMark | ?⃝ | (?) |\n| bullet | ● | * |\n| dot | ․ | . |\n| line | ─ | ─ |\n| ellipsis | … | ... |\n| pointer | ❯ | > |\n| pointerSmall | › | » |\n| info | ℹ | i |\n| warning | ⚠ | ‼ |\n| hamburger | ☰ | ≡ |\n| smiley | ㋡ | ☺ |\n| mustache | ෴ | ┌─┐ |\n| heart | ♥ | ♥ |\n| arrowUp | ↑ | ↑ |\n| arrowDown | ↓ | ↓ |\n| arrowLeft | ← | ← |\n| arrowRight | → | → |\n| radioOn | ◉ | (*) |\n| radioOff | ◯ | ( ) |\n| checkboxOn | ☒ | [×] |\n| checkboxOff | ☐ | [ ] |\n| checkboxCircleOn | ⓧ | (×) |\n| checkboxCircleOff | Ⓘ | ( ) |\n| questionMarkPrefix | ?⃝ | ? |\n| oneHalf | ½ | 1/2 |\n| oneThird | ⅓ | 1/3 |\n| oneQuarter | ¼ | 1/4 |\n| oneFifth | ⅕ | 1/5 |\n| oneSixth | ⅙ | 1/6 |\n| oneSeventh | ⅐ | 1/7 |\n| oneEighth | ⅛ | 1/8 |\n| oneNinth | ⅑ | 1/9 |\n| oneTenth | ⅒ | 1/10 |\n| twoThirds | ⅔ | 2/3 |\n| twoFifths | ⅖ | 2/5 |\n| threeQuarters | ¾ | 3/4 |\n| threeFifths | ⅗ | 3/5 |\n| threeEighths | ⅜ | 3/8 |\n| fourFifths | ⅘ | 4/5 |\n| fiveSixths | ⅚ | 5/6 |\n| fiveEighths | ⅝ | 5/8 |\n| sevenEighths | ⅞ | 7/8 |\n\n\n## Related\n\n- [log-symbols](https://github.com/sindresorhus/log-symbols) - Colored symbols for various log levels\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n",
|
||
"readmeFilename": "readme.md",
|
||
"repository": {
|
||
"type": "git",
|
||
"url": "git+https://github.com/sindresorhus/figures.git"
|
||
},
|
||
"scripts": {
|
||
"make": "./makefile.js",
|
||
"test": "xo && ava"
|
||
},
|
||
"version": "2.0.0",
|
||
"xo": {
|
||
"esnext": true
|
||
}
|
||
}
|