Package Exports
- @azu/style-format
- @azu/style-format/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@azu/style-format) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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.
License
MIT
Original is style-format.