1.0.0 • Published 8 years ago
chalk-form v1.0.0
chalk-form
apply an array of chalk methods to a string
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