Skip to content
forked from azer/style-format

Library to easily style texts with string formatting.

License

Notifications You must be signed in to change notification settings

azu/style-format

 
 

style-format

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

Install

$ npm install @azu/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.

License

MIT

Original is style-format.

About

Library to easily style texts with string formatting.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages

  • JavaScript 100.0%