Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

colorize-boolean

kikobeats798MIT1.0.1

Output a boolean with color. Pretty sweet for your terminal logs!

boolean, cli, colorize, output, terminal

readme

colorize-boolean


colorize-boolean

Last version Build Status Dependency status Dev Dependencies Status NPM Status Gratipay

Output a boolean with color. Pretty sweet for your terminal logs!

Install

npm install colorize-boolean --save

Usage

colorizeBoolean = require 'colorize-boolean'

API

console.log colorizeBoolean().expected(true).actual(false)
console.log colorizeBoolean('human').expected(true).actual(false)

License

MIT © Kiko Beats