Skip to content

jman294/rnbw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!