1.0.0 • Published 8 years ago

chalk-form v1.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

chalk-form

apply an array of chalk methods to a string

Build Status

Install

npm install --save chalk-form

Usage

chalkForm returns a function which takes a string as an argument:

const str = chalkForm(['bold', 'italic', 'green'])('this is bold, italic, and green.');

License

MIT © Kevin Donahue