0.1.3 • Published 2 years ago

farge v0.1.3

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

Farge

Terminal colors and styles the easy way.

Extremely minimal implementation, no dependencies.

Install

npm i farge

Usage

const farge = require('farge')({

  // Set to true to add newline automatically
  newline: false
})

// Bold text
farge.bold.log('hello')

// Green text
farge.green.log('hello')

// Red text
farge.red.log('hello')

// Dim text
farge.green.log('hello')

// Bold and green, combine as many as you want
farge.bold.green.log('hello')

See lib/colors.js for all the possible colors and styles.

ISC Licensed. Enjoy!

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago