aboutsummaryrefslogtreecommitdiff
path: root/node_modules/cli-spinners
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-05-28 00:38:50 +0200
committerFlorian Dold <florian.dold@gmail.com>2017-05-28 00:40:43 +0200
commit7fff4499fd915bcea3fa93b1aa8b35f4fe7a6027 (patch)
tree6de9a1aebd150a23b7f8c273ec657a5d0a18fe3e /node_modules/cli-spinners
parent963b7a41feb29cc4be090a2446bdfe0c1f1bcd81 (diff)
downloadwallet-core-7fff4499fd915bcea3fa93b1aa8b35f4fe7a6027.tar.xz
add linting (and some initial fixes)
Diffstat (limited to 'node_modules/cli-spinners')
-rw-r--r--node_modules/cli-spinners/index.js2
-rw-r--r--node_modules/cli-spinners/license21
-rw-r--r--node_modules/cli-spinners/package.json45
-rw-r--r--node_modules/cli-spinners/readme.md55
-rw-r--r--node_modules/cli-spinners/spinners.json832
5 files changed, 955 insertions, 0 deletions
diff --git a/node_modules/cli-spinners/index.js b/node_modules/cli-spinners/index.js
new file mode 100644
index 000000000..465d22233
--- /dev/null
+++ b/node_modules/cli-spinners/index.js
@@ -0,0 +1,2 @@
+'use strict';
+module.exports = require('./spinners.json');
diff --git a/node_modules/cli-spinners/license b/node_modules/cli-spinners/license
new file mode 100644
index 000000000..654d0bfe9
--- /dev/null
+++ b/node_modules/cli-spinners/license
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
diff --git a/node_modules/cli-spinners/package.json b/node_modules/cli-spinners/package.json
new file mode 100644
index 000000000..e42251bb7
--- /dev/null
+++ b/node_modules/cli-spinners/package.json
@@ -0,0 +1,45 @@
+{
+ "name": "cli-spinners",
+ "version": "1.0.0",
+ "description": "Spinners for use in the terminal",
+ "license": "MIT",
+ "repository": "sindresorhus/cli-spinners",
+ "author": {
+ "name": "Sindre Sorhus",
+ "email": "sindresorhus@gmail.com",
+ "url": "sindresorhus.com"
+ },
+ "engines": {
+ "node": ">=4"
+ },
+ "scripts": {
+ "test": "xo && ava",
+ "asciicast": "asciinema rec --command='node example-all.js' --title='cli-spinner' --quiet"
+ },
+ "files": [
+ "index.js",
+ "spinners.json"
+ ],
+ "keywords": [
+ "cli",
+ "spinner",
+ "spinners",
+ "terminal",
+ "term",
+ "console",
+ "ascii",
+ "unicode",
+ "loading",
+ "indicator",
+ "progress",
+ "busy",
+ "wait",
+ "idle",
+ "json"
+ ],
+ "devDependencies": {
+ "ava": "*",
+ "log-update": "^1.0.2",
+ "xo": "*"
+ }
+}
diff --git a/node_modules/cli-spinners/readme.md b/node_modules/cli-spinners/readme.md
new file mode 100644
index 000000000..fe8703612
--- /dev/null
+++ b/node_modules/cli-spinners/readme.md
@@ -0,0 +1,55 @@
+# cli-spinners [![Build Status](https://travis-ci.org/sindresorhus/cli-spinners.svg?branch=master)](https://travis-ci.org/sindresorhus/cli-spinners)
+
+> 60+ spinners for use in the terminal
+
+![](screenshot.gif)
+
+The list of spinners is just a [JSON file](spinners.json) and can be used wherever.
+
+You probably want to use one of these spinners through the [`ora`](https://github.com/sindresorhus/ora) module.
+
+
+## Install
+
+```
+$ npm install --save cli-spinners
+```
+
+
+## Usage
+
+```js
+const cliSpinners = require('cli-spinners');
+
+console.log(cliSpinners.dots);
+/*
+{
+ interval: 80,
+ frames: ['⠋', '⠙', '⠹', '⠸', '⠼', '⠴', '⠦', '⠧', '⠇', '⠏']
+}
+*/
+```
+
+
+## Preview
+
+The header GIF is outdated. Click below to see a preview of all the spinners.
+
+[![](https://asciinema.org/a/95348.png)](https://asciinema.org/a/95348?size=big)
+
+
+## API
+
+Each spinner comes with a recommended `interval` and an array of `frames`.
+
+[See the spinners.](spinners.json)
+
+
+## Related
+
+- [ora](https://github.com/sindresorhus/ora) - Elegant terminal spinner
+
+
+## License
+
+MIT © [Sindre Sorhus](https://sindresorhus.com)
diff --git a/node_modules/cli-spinners/spinners.json b/node_modules/cli-spinners/spinners.json
new file mode 100644
index 000000000..079a610f5
--- /dev/null
+++ b/node_modules/cli-spinners/spinners.json
@@ -0,0 +1,832 @@
+{
+ "dots": {
+ "interval": 80,
+ "frames": [
+ "⠋",
+ "⠙",
+ "⠹",
+ "⠸",
+ "⠼",
+ "⠴",
+ "⠦",
+ "⠧",
+ "⠇",
+ "⠏"
+ ]
+ },
+ "dots2": {
+ "interval": 80,
+ "frames": [
+ "⣾",
+ "⣽",
+ "⣻",
+ "⢿",
+ "⡿",
+ "⣟",
+ "⣯",
+ "⣷"
+ ]
+ },
+ "dots3": {
+ "interval": 80,
+ "frames": [
+ "⠋",
+ "⠙",
+ "⠚",
+ "⠞",
+ "⠖",
+ "⠦",
+ "⠴",
+ "⠲",
+ "⠳",
+ "⠓"
+ ]
+ },
+ "dots4": {
+ "interval": 80,
+ "frames": [
+ "⠄",
+ "⠆",
+ "⠇",
+ "⠋",
+ "⠙",
+ "⠸",
+ "⠰",
+ "⠠",
+ "⠰",
+ "⠸",
+ "⠙",
+ "⠋",
+ "⠇",
+ "⠆"
+ ]
+ },
+ "dots5": {
+ "interval": 80,
+ "frames": [
+ "⠋",
+ "⠙",
+ "⠚",
+ "⠒",
+ "⠂",
+ "⠂",
+ "⠒",
+ "⠲",
+ "⠴",
+ "⠦",
+ "⠖",
+ "⠒",
+ "⠐",
+ "⠐",
+ "⠒",
+ "⠓",
+ "⠋"
+ ]
+ },
+ "dots6": {
+ "interval": 80,
+ "frames": [
+ "⠁",
+ "⠉",
+ "⠙",
+ "⠚",
+ "⠒",
+ "⠂",
+ "⠂",
+ "⠒",
+ "⠲",
+ "⠴",
+ "⠤",
+ "⠄",
+ "⠄",
+ "⠤",
+ "⠴",
+ "⠲",
+ "⠒",
+ "⠂",
+ "⠂",
+ "⠒",
+ "⠚",
+ "⠙",
+ "⠉",
+ "⠁"
+ ]
+ },
+ "dots7": {
+ "interval": 80,
+ "frames": [
+ "⠈",
+ "⠉",
+ "⠋",
+ "⠓",
+ "⠒",
+ "⠐",
+ "⠐",
+ "⠒",
+ "⠖",
+ "⠦",
+ "⠤",
+ "⠠",
+ "⠠",
+ "⠤",
+ "⠦",
+ "⠖",
+ "⠒",
+ "⠐",
+ "⠐",
+ "⠒",
+ "⠓",
+ "⠋",
+ "⠉",
+ "⠈"
+ ]
+ },
+ "dots8": {
+ "interval": 80,
+ "frames": [
+ "⠁",
+ "⠁",
+ "⠉",
+ "⠙",
+ "⠚",
+ "⠒",
+ "⠂",
+ "⠂",
+ "⠒",
+ "⠲",
+ "⠴",
+ "⠤",
+ "⠄",
+ "⠄",
+ "⠤",
+ "⠠",
+ "⠠",
+ "⠤",
+ "⠦",
+ "⠖",
+ "⠒",
+ "⠐",
+ "⠐",
+ "⠒",
+ "⠓",
+ "⠋",
+ "⠉",
+ "⠈",
+ "⠈"
+ ]
+ },
+ "dots9": {
+ "interval": 80,
+ "frames": [
+ "⢹",
+ "⢺",
+ "⢼",
+ "⣸",
+ "⣇",
+ "⡧",
+ "⡗",
+ "⡏"
+ ]
+ },
+ "dots10": {
+ "interval": 80,
+ "frames": [
+ "⢄",
+ "⢂",
+ "⢁",
+ "⡁",
+ "⡈",
+ "⡐",
+ "⡠"
+ ]
+ },
+ "dots11": {
+ "interval": 100,
+ "frames": [
+ "⠁",
+ "⠂",
+ "⠄",
+ "⡀",
+ "⢀",
+ "⠠",
+ "⠐",
+ "⠈"
+ ]
+ },
+ "dots12": {
+ "interval": 80,
+ "frames": [
+ "⢀⠀",
+ "⡀⠀",
+ "⠄⠀",
+ "⢂⠀",
+ "⡂⠀",
+ "⠅⠀",
+ "⢃⠀",
+ "⡃⠀",
+ "⠍⠀",
+ "⢋⠀",
+ "⡋⠀",
+ "⠍⠁",
+ "⢋⠁",
+ "⡋⠁",
+ "⠍⠉",
+ "⠋⠉",
+ "⠋⠉",
+ "⠉⠙",
+ "⠉⠙",
+ "⠉⠩",
+ "⠈⢙",
+ "⠈⡙",
+ "⢈⠩",
+ "⡀⢙",
+ "⠄⡙",
+ "⢂⠩",
+ "⡂⢘",
+ "⠅⡘",
+ "⢃⠨",
+ "⡃⢐",
+ "⠍⡐",
+ "⢋⠠",
+ "⡋⢀",
+ "⠍⡁",
+ "⢋⠁",
+ "⡋⠁",
+ "⠍⠉",
+ "⠋⠉",
+ "⠋⠉",
+ "⠉⠙",
+ "⠉⠙",
+ "⠉⠩",
+ "⠈⢙",
+ "⠈⡙",
+ "⠈⠩",
+ "⠀⢙",
+ "⠀⡙",
+ "⠀⠩",
+ "⠀⢘",
+ "⠀⡘",
+ "⠀⠨",
+ "⠀⢐",
+ "⠀⡐",
+ "⠀⠠",
+ "⠀⢀",
+ "⠀⡀"
+ ]
+ },
+ "line": {
+ "interval": 130,
+ "frames": [
+ "-",
+ "\\",
+ "|",
+ "/"
+ ]
+ },
+ "line2": {
+ "interval": 100,
+ "frames": [
+ "⠂",
+ "-",
+ "–",
+ "—",
+ "–",
+ "-"
+ ]
+ },
+ "pipe": {
+ "interval": 100,
+ "frames": [
+ "┤",
+ "┘",
+ "┴",
+ "└",
+ "├",
+ "┌",
+ "┬",
+ "┐"
+ ]
+ },
+ "simpleDots": {
+ "interval": 400,
+ "frames": [
+ ". ",
+ ".. ",
+ "...",
+ " "
+ ]
+ },
+ "simpleDotsScrolling": {
+ "interval": 200,
+ "frames": [
+ ". ",
+ ".. ",
+ "...",
+ " ..",
+ " .",
+ " "
+ ]
+ },
+ "star": {
+ "interval": 70,
+ "frames": [
+ "✶",
+ "✸",
+ "✹",
+ "✺",
+ "✹",
+ "✷"
+ ]
+ },
+ "star2": {
+ "interval": 80,
+ "frames": [
+ "+",
+ "x",
+ "*"
+ ]
+ },
+ "flip": {
+ "interval": 70,
+ "frames": [
+ "_",
+ "_",
+ "_",
+ "-",
+ "`",
+ "`",
+ "'",
+ "´",
+ "-",
+ "_",
+ "_",
+ "_"
+ ]
+ },
+ "hamburger": {
+ "interval": 100,
+ "frames": [
+ "☱",
+ "☲",
+ "☴"
+ ]
+ },
+ "growVertical": {
+ "interval": 120,
+ "frames": [
+ "▁",
+ "▃",
+ "▄",
+ "▅",
+ "▆",
+ "▇",
+ "▆",
+ "▅",
+ "▄",
+ "▃"
+ ]
+ },
+ "growHorizontal": {
+ "interval": 120,
+ "frames": [
+ "▏",
+ "▎",
+ "▍",
+ "▌",
+ "▋",
+ "▊",
+ "▉",
+ "▊",
+ "▋",
+ "▌",
+ "▍",
+ "▎"
+ ]
+ },
+ "balloon": {
+ "interval": 140,
+ "frames": [
+ " ",
+ ".",
+ "o",
+ "O",
+ "@",
+ "*",
+ " "
+ ]
+ },
+ "balloon2": {
+ "interval": 120,
+ "frames": [
+ ".",
+ "o",
+ "O",
+ "°",
+ "O",
+ "o",
+ "."
+ ]
+ },
+ "noise": {
+ "interval": 100,
+ "frames": [
+ "▓",
+ "▒",
+ "░"
+ ]
+ },
+ "bounce": {
+ "interval": 120,
+ "frames": [
+ "⠁",
+ "⠂",
+ "⠄",
+ "⠂"
+ ]
+ },
+ "boxBounce": {
+ "interval": 120,
+ "frames": [
+ "▖",
+ "▘",
+ "▝",
+ "▗"
+ ]
+ },
+ "boxBounce2": {
+ "interval": 100,
+ "frames": [
+ "▌",
+ "▀",
+ "▐",
+ "▄"
+ ]
+ },
+ "triangle": {
+ "interval": 50,
+ "frames": [
+ "◢",
+ "◣",
+ "◤",
+ "◥"
+ ]
+ },
+ "arc": {
+ "interval": 100,
+ "frames": [
+ "◜",
+ "◠",
+ "◝",
+ "◞",
+ "◡",
+ "◟"
+ ]
+ },
+ "circle": {
+ "interval": 120,
+ "frames": [
+ "◡",
+ "⊙",
+ "◠"
+ ]
+ },
+ "squareCorners": {
+ "interval": 180,
+ "frames": [
+ "◰",
+ "◳",
+ "◲",
+ "◱"
+ ]
+ },
+ "circleQuarters": {
+ "interval": 120,
+ "frames": [
+ "◴",
+ "◷",
+ "◶",
+ "◵"
+ ]
+ },
+ "circleHalves": {
+ "interval": 50,
+ "frames": [
+ "◐",
+ "◓",
+ "◑",
+ "◒"
+ ]
+ },
+ "squish": {
+ "interval": 100,
+ "frames": [
+ "╫",
+ "╪"
+ ]
+ },
+ "toggle": {
+ "interval": 250,
+ "frames": [
+ "⊶",
+ "⊷"
+ ]
+ },
+ "toggle2": {
+ "interval": 80,
+ "frames": [
+ "▫",
+ "▪"
+ ]
+ },
+ "toggle3": {
+ "interval": 120,
+ "frames": [
+ "□",
+ "■"
+ ]
+ },
+ "toggle4": {
+ "interval": 100,
+ "frames": [
+ "■",
+ "□",
+ "▪",
+ "▫"
+ ]
+ },
+ "toggle5": {
+ "interval": 100,
+ "frames": [
+ "▮",
+ "▯"
+ ]
+ },
+ "toggle6": {
+ "interval": 300,
+ "frames": [
+ "ဝ",
+ "၀"
+ ]
+ },
+ "toggle7": {
+ "interval": 80,
+ "frames": [
+ "⦾",
+ "⦿"
+ ]
+ },
+ "toggle8": {
+ "interval": 100,
+ "frames": [
+ "◍",
+ "◌"
+ ]
+ },
+ "toggle9": {
+ "interval": 100,
+ "frames": [
+ "◉",
+ "◎"
+ ]
+ },
+ "toggle10": {
+ "interval": 100,
+ "frames": [
+ "㊂",
+ "㊀",
+ "㊁"
+ ]
+ },
+ "toggle11": {
+ "interval": 50,
+ "frames": [
+ "⧇",
+ "⧆"
+ ]
+ },
+ "toggle12": {
+ "interval": 120,
+ "frames": [
+ "☗",
+ "☖"
+ ]
+ },
+ "toggle13": {
+ "interval": 80,
+ "frames": [
+ "=",
+ "*",
+ "-"
+ ]
+ },
+ "arrow": {
+ "interval": 100,
+ "frames": [
+ "←",
+ "↖",
+ "↑",
+ "↗",
+ "→",
+ "↘",
+ "↓",
+ "↙"
+ ]
+ },
+ "arrow2": {
+ "interval": 80,
+ "frames": [
+ "⬆️ ",
+ "↗️ ",
+ "➡️ ",
+ "↘️ ",
+ "⬇️ ",
+ "↙️ ",
+ "⬅️ ",
+ "↖️ "
+ ]
+ },
+ "arrow3": {
+ "interval": 120,
+ "frames": [
+ "▹▹▹▹▹",
+ "▸▹▹▹▹",
+ "▹▸▹▹▹",
+ "▹▹▸▹▹",
+ "▹▹▹▸▹",
+ "▹▹▹▹▸"
+ ]
+ },
+ "bouncingBar": {
+ "interval": 80,
+ "frames": [
+ "[ ]",
+ "[ =]",
+ "[ ==]",
+ "[ ===]",
+ "[====]",
+ "[=== ]",
+ "[== ]",
+ "[= ]"
+ ]
+ },
+ "bouncingBall": {
+ "interval": 80,
+ "frames": [
+ "( ● )",
+ "( ● )",
+ "( ● )",
+ "( ● )",
+ "( ●)",
+ "( ● )",
+ "( ● )",
+ "( ● )",
+ "( ● )",
+ "(● )"
+ ]
+ },
+ "smiley": {
+ "interval": 200,
+ "frames": [
+ "😄 ",
+ "😝 "
+ ]
+ },
+ "monkey": {
+ "interval": 300,
+ "frames": [
+ "🙈 ",
+ "🙈 ",
+ "🙉 ",
+ "🙊 "
+ ]
+ },
+ "hearts": {
+ "interval": 100,
+ "frames": [
+ "💛 ",
+ "💙 ",
+ "💜 ",
+ "💚 ",
+ "❤️ "
+ ]
+ },
+ "clock": {
+ "interval": 100,
+ "frames": [
+ "🕐 ",
+ "🕑 ",
+ "🕒 ",
+ "🕓 ",
+ "🕔 ",
+ "🕕 ",
+ "🕖 ",
+ "🕗 ",
+ "🕘 ",
+ "🕙 ",
+ "🕚 "
+ ]
+ },
+ "earth": {
+ "interval": 180,
+ "frames": [
+ "🌍 ",
+ "🌎 ",
+ "🌏 "
+ ]
+ },
+ "moon": {
+ "interval": 80,
+ "frames": [
+ "🌑 ",
+ "🌒 ",
+ "🌓 ",
+ "🌔 ",
+ "🌕 ",
+ "🌖 ",
+ "🌗 ",
+ "🌘 "
+ ]
+ },
+ "runner": {
+ "interval": 140,
+ "frames": [
+ "🚶 ",
+ "🏃 "
+ ]
+ },
+ "pong": {
+ "interval": 80,
+ "frames": [
+ "▐⠂ ▌",
+ "▐⠈ ▌",
+ "▐ ⠂ ▌",
+ "▐ ⠠ ▌",
+ "▐ ⡀ ▌",
+ "▐ ⠠ ▌",
+ "▐ ⠂ ▌",
+ "▐ ⠈ ▌",
+ "▐ ⠂ ▌",
+ "▐ ⠠ ▌",
+ "▐ ⡀ ▌",
+ "▐ ⠠ ▌",
+ "▐ ⠂ ▌",
+ "▐ ⠈ ▌",
+ "▐ ⠂▌",
+ "▐ ⠠▌",
+ "▐ ⡀▌",
+ "▐ ⠠ ▌",
+ "▐ ⠂ ▌",
+ "▐ ⠈ ▌",
+ "▐ ⠂ ▌",
+ "▐ ⠠ ▌",
+ "▐ ⡀ ▌",
+ "▐ ⠠ ▌",
+ "▐ ⠂ ▌",
+ "▐ ⠈ ▌",
+ "▐ ⠂ ▌",
+ "▐ ⠠ ▌",
+ "▐ ⡀ ▌",
+ "▐⠠ ▌"
+ ]
+ },
+ "shark": {
+ "interval": 120,
+ "frames": [
+ "▐|\\____________▌",
+ "▐_|\\___________▌",
+ "▐__|\\__________▌",
+ "▐___|\\_________▌",
+ "▐____|\\________▌",
+ "▐_____|\\_______▌",
+ "▐______|\\______▌",
+ "▐_______|\\_____▌",
+ "▐________|\\____▌",
+ "▐_________|\\___▌",
+ "▐__________|\\__▌",
+ "▐___________|\\_▌",
+ "▐____________|\\▌",
+ "▐____________/|▌",
+ "▐___________/|_▌",
+ "▐__________/|__▌",
+ "▐_________/|___▌",
+ "▐________/|____▌",
+ "▐_______/|_____▌",
+ "▐______/|______▌",
+ "▐_____/|_______▌",
+ "▐____/|________▌",
+ "▐___/|_________▌",
+ "▐__/|__________▌",
+ "▐_/|___________▌",
+ "▐/|____________▌"
+ ]
+ },
+ "dqpb": {
+ "interval": 100,
+ "frames": [
+ "d",
+ "q",
+ "p",
+ "b"
+ ]
+ }
+}