mirror of
https://github.com/morhetz/gruvbox.git
synced 2025-11-18 08:13:39 -05:00
chore(package): re-init package with commitizen and standard-release
This commit is contained in:
15
node_modules/elegant-spinner/index.js
generated
vendored
Normal file
15
node_modules/elegant-spinner/index.js
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
'use strict';
|
||||
|
||||
var frames = process.platform === 'win32' ?
|
||||
['-', '\\', '|', '/'] :
|
||||
['⠋', '⠙', '⠹', '⠸', '⠼', '⠴', '⠦', '⠧', '⠇', '⠏'];
|
||||
|
||||
module.exports = function () {
|
||||
var i = 0;
|
||||
|
||||
return function () {
|
||||
return frames[i = ++i % frames.length];
|
||||
};
|
||||
};
|
||||
|
||||
module.exports.frames = frames;
|
||||
21
node_modules/elegant-spinner/license
generated
vendored
Normal file
21
node_modules/elegant-spinner/license
generated
vendored
Normal file
@@ -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.
|
||||
43
node_modules/elegant-spinner/package.json
generated
vendored
Normal file
43
node_modules/elegant-spinner/package.json
generated
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"name": "elegant-spinner",
|
||||
"version": "1.0.1",
|
||||
"description": "Elegant spinner for interactive CLI apps",
|
||||
"license": "MIT",
|
||||
"repository": "sindresorhus/elegant-spinner",
|
||||
"author": {
|
||||
"name": "Sindre Sorhus",
|
||||
"email": "sindresorhus@gmail.com",
|
||||
"url": "sindresorhus.com"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "xo && node test.js"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"keywords": [
|
||||
"ansi",
|
||||
"terminal",
|
||||
"console",
|
||||
"cli",
|
||||
"string",
|
||||
"log",
|
||||
"logging",
|
||||
"spinner",
|
||||
"busy",
|
||||
"indicator",
|
||||
"loading",
|
||||
"loader",
|
||||
"progress",
|
||||
"elegant",
|
||||
"loiter",
|
||||
"interactive"
|
||||
],
|
||||
"devDependencies": {
|
||||
"ava": "0.0.4",
|
||||
"xo": "*"
|
||||
}
|
||||
}
|
||||
35
node_modules/elegant-spinner/readme.md
generated
vendored
Normal file
35
node_modules/elegant-spinner/readme.md
generated
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
# elegant-spinner [](https://travis-ci.org/sindresorhus/elegant-spinner)
|
||||
|
||||
> Elegant spinner for interactive CLI apps
|
||||
|
||||
<img width="173" src="screenshot.gif">
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
```
|
||||
$ npm install --save elegant-spinner
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
var elegantSpinner = require('elegant-spinner');
|
||||
var logUpdate = require('log-update');
|
||||
var frame = elegantSpinner();
|
||||
|
||||
setInterval(function () {
|
||||
logUpdate(frame());
|
||||
}, 50);
|
||||
```
|
||||
|
||||
|
||||
## Relevant
|
||||
|
||||
- [log-update](https://github.com/sindresorhus/log-update) - Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc.
|
||||
|
||||
|
||||
## License
|
||||
|
||||
MIT © [Sindre Sorhus](http://sindresorhus.com)
|
||||
Reference in New Issue
Block a user