Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.