1.0.5 • Published 4 years ago
rungoly v1.0.5
Rungoly
Rungoly is meant to create beautiful strings to make the message standout. It returns a string which can be logged or used anywhere in the application.
- Options
- design
- char: Character to print
- count: number of char per line
- lines: number of lines to print
- fontColor: Font color for Terminal
- backgroundColor: Background color for Terminal
- message
- align: Message alignment with respect to the design length
- space: Line space above and below the message
- text: Message text
Usage
> const rungoly = require("rungoly");
> const message = "This is test message";
>
> const options = {
> design: {
> char: "=",
> count: 100,
> lines: 3,
> fontColor: "yellow",
> backgroundColor: "magenta"
> },
> message: {
> align: "right",
> space: 1,
> text: message
> }
> }
>
> console.log(rungoly.printChar(options));
> rungoly.log(options)); // This suggestion came from https://twitter.com/cunfusia
Font Colors
- reset
- bright
- dim
- underscore
- blink
- reverse
- hidden
- black
- red
- green
- yellow
- blue
- magenta
- cyan
- white
Background colors
- black
- red
- green
- yellow
- blue
- magenta
- cyan
- white
Todos
- Add more cool patterns
- Minify js files
- CI/CD
- JS docs
- Testing
License
MIT
Free Software, Hell Yeah!