Miss any of our Open RFC calls?Watch the recordings here! »

chalk-template

0.1.0 • Public • Published

chalk-template Build Status

Simple and easy to use template engine for chalk

Install

$ npm install --save chalk-template

Usage

const chalk = require('chalk');
const chalkTemplate = require('chalk-template');
 
console.log(
  chalkTemplate('<bold><red>Title</red></bold><error/>',
    {
      error: chalk.bold.red('Error!')
    }
  )
);

See supported styles.

Related

  • chalk - API for this module

License

MIT © Simon Mollweide

Install

npm i chalk-template

DownloadsWeekly Downloads

3

Version

0.1.0

License

MIT

Last publish

Collaborators

  • avatar