Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yaroslavgaponov/termonfire
Terminal on Fire
https://github.com/yaroslavgaponov/termonfire
doom fun nodejs terminal
Last synced: about 1 month ago
JSON representation
Terminal on Fire
- Host: GitHub
- URL: https://github.com/yaroslavgaponov/termonfire
- Owner: YaroslavGaponov
- Created: 2019-01-07T12:42:33.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-06T10:30:58.000Z (over 4 years ago)
- Last Synced: 2024-11-18T09:26:34.076Z (about 2 months ago)
- Topics: doom, fun, nodejs, terminal
- Language: JavaScript
- Size: 34.8 MB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
Terminal on Fire
===========================
Just draw fire in terminalRun demo
```sh
npm run demo
```![fire](https://raw.githubusercontent.com/YaroslavGaponov/termonfire/master/example/fire.gif "terminfire")
Example
```javascript
const Fire = require('termonfire');
const fire = new Fire();
fire.start();
setTimeout(_ => fire.inc(15), 5000); // the fire is heating up
setTimeout(_ => fire.dec(5), 15000); // the fire goes out
process.on('SIGINT', _ => fire.stop()); // stop
```