@azu/style-format

Library to easily style texts with string formatting

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
00May 14, 2016May 14, 2016Minified + gzip package size for @azu/style-format in KB

Readme

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.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.