blessings
v0.0.1
Published
A port of python blessings.
Downloads
8
Readme
Blessings
This is a node.js port of blessings, an easy to use library for manipulating ANSITERM terminals.
Installation
$ npm install blessings
Usage
The module exports a class called Terminal, which gives you a few handy methods for manipulating the terminal. For example:
var Terminal = require('blessings')
with (new Terminal()) {
writeln(red('red'), green('green'), 'and', blue('blue'))
writeln(bold('bold'), 'and', normal('normal'))
writeln(bg.darkgray('dark backgrounds'))
}
License
MIT License