color-cod

0.1.0 • Public • Published

color-cod

Color code identical strings with the same color.

Install

npm i -S color-cod

Usage

const colorCod = require('color-cod')()
 
console.log(colorCod('foo'))
console.log(colorCod('bar'))
console.log(colorCod('foo'))
E.g.

foo <- blue
bar <- yellow
foo <- blue

Global color coding.

import colorCod from 'color-cod'
console.log(colorCod('foo'))

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i color-cod

Weekly Downloads

86

Version

0.1.0

License

MIT

Last publish

Collaborators

  • vjpr