Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/denosaurs/tty
🖨 Terminal utils and ansi escapes
https://github.com/denosaurs/tty
deno terminal tty utils
Last synced: 4 months ago
JSON representation
🖨 Terminal utils and ansi escapes
- Host: GitHub
- URL: https://github.com/denosaurs/tty
- Owner: denosaurs
- License: mit
- Created: 2020-08-25T18:54:06.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-12-27T07:57:36.000Z (about 2 years ago)
- Last Synced: 2024-04-14T00:49:17.596Z (10 months ago)
- Topics: deno, terminal, tty, utils
- Language: TypeScript
- Homepage: https://deno.land/x/tty
- Size: 30.3 KB
- Stars: 9
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# tty
[![Tags](https://img.shields.io/github/release/denosaurs/tty)](https://github.com/denosaurs/tty/releases)
[![CI Status](https://img.shields.io/github/actions/workflow/status/denosaurs/tty/check.yml?branch=main)](https://github.com/denosaurs/tty/actions)
[![License](https://img.shields.io/github/license/denosaurs/tty)](https://github.com/denosaurs/tty/blob/master/LICENSE)
![]()
```typescript
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.