Color code identical strings with the same color.
npm install color-cod
> Color code identical strings with the same color.
``js`
npm i -S color-cod
`js
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.
`js``
import colorCod from 'color-cod'
console.log(colorCod('foo'))