mirror of
https://github.com/x1xhlol/system-prompts-and-models-of-ai-tools.git
synced 2026-02-04 05:50:50 +00:00
nhj
more
This commit is contained in:
15
unified-ai-platform/node_modules/cli-spinners/index.js
generated
vendored
Normal file
15
unified-ai-platform/node_modules/cli-spinners/index.js
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
'use strict';
|
||||
|
||||
const spinners = Object.assign({}, require('./spinners.json')); // eslint-disable-line import/extensions
|
||||
|
||||
const spinnersList = Object.keys(spinners);
|
||||
|
||||
Object.defineProperty(spinners, 'random', {
|
||||
get() {
|
||||
const randomIndex = Math.floor(Math.random() * spinnersList.length);
|
||||
const spinnerName = spinnersList[randomIndex];
|
||||
return spinners[spinnerName];
|
||||
}
|
||||
});
|
||||
|
||||
module.exports = spinners;
|
||||
9
unified-ai-platform/node_modules/cli-spinners/license
generated
vendored
Normal file
9
unified-ai-platform/node_modules/cli-spinners/license
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://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.
|
||||
50
unified-ai-platform/node_modules/cli-spinners/package.json
generated
vendored
Normal file
50
unified-ai-platform/node_modules/cli-spinners/package.json
generated
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"name": "cli-spinners",
|
||||
"version": "2.9.2",
|
||||
"description": "Spinners for use in the terminal",
|
||||
"license": "MIT",
|
||||
"repository": "sindresorhus/cli-spinners",
|
||||
"funding": "https://github.com/sponsors/sindresorhus",
|
||||
"author": {
|
||||
"name": "Sindre Sorhus",
|
||||
"email": "sindresorhus@gmail.com",
|
||||
"url": "https://sindresorhus.com"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=6"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "xo && ava && tsd",
|
||||
"asciicast": "asciinema rec --command='node example-all.js' --title='cli-spinner' --quiet"
|
||||
},
|
||||
"files": [
|
||||
"index.js",
|
||||
"index.d.ts",
|
||||
"spinners.json"
|
||||
],
|
||||
"keywords": [
|
||||
"cli",
|
||||
"spinner",
|
||||
"spinners",
|
||||
"terminal",
|
||||
"term",
|
||||
"console",
|
||||
"ascii",
|
||||
"unicode",
|
||||
"loading",
|
||||
"indicator",
|
||||
"progress",
|
||||
"busy",
|
||||
"wait",
|
||||
"idle",
|
||||
"json"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@types/node": "^17.0.41",
|
||||
"ava": "^1.4.1",
|
||||
"log-update": "^3.2.0",
|
||||
"string-length": "^4.0.1",
|
||||
"tsd": "^0.7.2",
|
||||
"xo": "^0.24.0"
|
||||
}
|
||||
}
|
||||
1622
unified-ai-platform/node_modules/cli-spinners/spinners.json
generated
vendored
Normal file
1622
unified-ai-platform/node_modules/cli-spinners/spinners.json
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user