All Projects → dominictarr → Quickansi

dominictarr / Quickansi

Licence: mit

Programming Languages

javascript
184084 projects - #8 most used programming language

quickansi

convert key frame strings into minimal ansi escape code sequences, to effiently update the screen.

Example

wrap a stream, then tell it what the each frame should be.

var quickansi = require('quickansi')
var update = quickansi(process.stdout)

//tell 
update('hello!')

setTimeout(function () {
  //when there is a partial change,
  //only the new characters are added
  //for flicker free animated ascii art!
  update('hello, WORLD!')
}, 500)

Ansi color codes are also supported, just add colors to the string!

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].