Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/denosaurs/wait
🌀 Minimal terminal spinner
https://github.com/denosaurs/wait
cli deno spinner tty util
Last synced: 3 months ago
JSON representation
🌀 Minimal terminal spinner
- Host: GitHub
- URL: https://github.com/denosaurs/wait
- Owner: denosaurs
- License: mit
- Created: 2020-08-25T19:20:17.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-01-26T08:44:00.000Z (9 months ago)
- Last Synced: 2024-04-14T00:49:17.603Z (7 months ago)
- Topics: cli, deno, spinner, tty, util
- Language: TypeScript
- Homepage: https://deno.land/x/wait
- Size: 39.1 KB
- Stars: 54
- Watchers: 3
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# wait
[![Tags](https://img.shields.io/github/release/denosaurs/wait)](https://github.com/denosaurs/wait/releases)
[![CI Status](https://img.shields.io/github/actions/workflow/status/denosaurs/wait/deno.yml?branch=master)](https://github.com/denosaurs/wait/actions)
[![License](https://img.shields.io/github/license/denosaurs/wait)](https://github.com/denosaurs/wait/blob/master/LICENSE)
## Usage
```typescript
import { wait } from "https://deno.land/x/wait/mod.ts";const spinner = wait("Generating terrain").start();
setTimeout(() => {
spinner.color = "yellow";
spinner.text = "Loading dinosaurs";
}, 1500);
```## Other
### Related
- [ora](https://github.com/sindresorhus/ora) - Elegant terminal spinner
### Contribution
Pull request, issues and feedback are very welcome. Code style is formatted with
deno fmt and commit messages are done following Conventional Commits spec.### Licence
Copyright 2020-present, the denosaurs team. All rights reserved. MIT license.