Repository
Current version released
3 years ago
Versions
deno_spin
Deno porting of go-spin.
Usage
import Spinner from "https://deno.land/x/deno_spin@v0.0.1/mod.ts";
console.log("box1: ⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏");
const box1 = new Spinner();
for (let i = 0; i < 30; i++) {
await box1.next();
}
console.log("box2: ⠋⠙⠚⠞⠖⠦⠴⠲⠳⠓");
const box2 = new Spinner("box2", 100);
for (let i = 0; i < 15; i++) {
await box2.next();
}
GIF
Thank you
The implementation in this repository is a port of the implementation in go-spin for Deno.
Licence
The Licence is MIT, according to the license of go-spin.