@sea_flanker/terminal

0.0.3 • Public • Published

terminal

Logging in console with colors

Usage

const { terminal } = require('@sea_flanker/terminal')

// Alt to console.log (no formatting)
terminal.log('Test logging')

// Log with font color
terminal.red().log('Test logging')

// Log with background color
terminal.bgMagenta().log('Test logging')

// Log with font color and underline
terminal.cyan().underline().log('Test logging')

// Log with font color and underline and bold
terminal.cyan().underline().bold().log('Test logging')

Readme

Keywords

none

Package Sidebar

Install

npm i @sea_flanker/terminal

Weekly Downloads

1

Version

0.0.3

License

ISC

Unpacked Size

3.15 kB

Total Files

3

Last publish

Collaborators

  • sea_flanker