Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 613 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 613 Bytes

GitHub Repository Badge

rnbw

Rainbows for life

What does this module do?

It rainbowifies text:

rnbw in action rnbw in action

To use

npm install rnbw

This can either be used as a module as such:

var rnbw = require('rnbw')

rnbw.rainbow('the text to rainbow')
rnbw.colorify(45, 'some text to color based on that number (look up ANSI escape sequences)')

Or as a command line tool: ./node_modules/bin/rnbw text.txt

Have fun rainbowing!