Skip to content

azer/style-format

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

style-format

Library to easily style texts with string formatting. It's based on ansi-codes and format-text

Install

$ npm install style-format

Usage

format('{blue} hello {green} world')
// => hello world

format('{bold}{red} span {yellow} eggs {reset}')
// => span eggs

Reference

See ansi-codes for reference.

About

Library to easily style texts with string formatting.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published