chalk-traits

1.0.0 • Public • Published

chalk-traits

Traits for Chalk

Installation

npm install --save chalk-traits

Usage

This library exports Chalk's styles as a trait set and implements them for Strings.

The following example is using the straits syntax:

use traits * from require('chalk-traits');
 
console.log( 'Hey!'.*red() );

Readme

Keywords

Package Sidebar

Install

npm i chalk-traits

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

4 kB

Total Files

4

Last publish

Collaborators

  • peoro