YaroslavGaponov / termonfire

Terminal on Fire

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Terminal on Fire

Just draw fire in terminal

Run demo

npm run demo

fire

Example

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

About

Terminal on Fire


Languages

Language:JavaScript 100.0%