Skip to main content
Deno 2 is finally here 🎉️
Learn more

tty

Tags CI Status License



import * as tty from "https://deno.land/x/tty/mod.ts";

await tty.hideCursor();

let i = 0;

setInterval(() => {
  tty.clearScreenSync();
  tty.goHomeSync();
  console.log(i++);
}, 200);

other

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.