1.1.1 • Published 2 years ago

output-string-styles v1.1.1

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Output String Styles

Latest Version: npm i output-string-styles@1.1.1

Author: Christian Thone

Documentation

Get Started

Once installed simply require the module, create a new class instance, and call the required values from the class.

const outputStringStyles = require('output-string-styles');
let Styles = new outputStringStyles.Styles();

You can then use the module inside of any console.log(); statements. It's as easy as 1 2 3

// Import library
// Make sure to put Styles.Reset before adding a new style, if you want multiple lines
// to be one style then don't put the reset on those lines
console.log(Styles.Reset, Styles.Dim, "This text will be a light grey color!")
console.log(Styles.Reset, Styles.Bright, "This text will be slightly bold!")
console.log(Styles.Reset, Styles.Underscore, "This text will be underlined!")

Thank you for using my module, I really do appreciate it!

1.1.1

2 years ago

1.1.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago