@swdv-660-1w-18-fa1/week-1-assignment-ryanhiltonian-rainbow-text-in-box
v1.1.7
Published
Rainbow text in a box, for Console.
Downloads
26
Maintainers
Keywords
Readme
####RainbowTextInBox
Formats a string to appear inside a box, and with rainbow colors.
The sample usage calls the function contained in the index.js file in the GitHub repository. To use it, simply modify the string appearing between the quotes. Instead of 'this text string' it will output whatever text you put there, and it will be modified to appear inside a box, and have rainbow colors.
After requiring this package, the function call is showRainbowTextInBox() You must include your text string as a parameter in the function. See sample usage.
Install
npm install @swdv-660-1w-18-fa1/week-1-assignment-ryanhiltonian-rainbow-text-in-box
Sample Usage
var item = require('@swdv-660-1w-18-fa1/week-1-assignment-ryanhiltonian-rainbow-text-in-box')
item.showRainbowTextInBox('this text string')