New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

color-cod

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

color-cod

Color code identical strings with the same color.

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

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

Keywords

color

FAQs

Package last updated on 04 Sep 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts