identicol

0.1.0 • Public • Published

Identicol

roses are red
violets are blue
put in a string and
out comes a hue

Usage

const identicol = require('identicol')

identicol('hello world') // '#c6b5ee'

It's not case sensitive:

identicol('hello world') // '#c6b5ee'
identicol('HELLO WORLD') // '#c6b5ee'

And all non-alphanumerical characters are valued equally (including whitespace):

identicol('hello world!') // '#cee337'
identicol('hello-world?') // '#cee337'

License

Copyright (c) 2016, Peter-Paul van Gemerden.
Distributed under the ISC license (see LICENSE).

Readme

Keywords

none

Package Sidebar

Install

npm i identicol

Weekly Downloads

1

Version

0.1.0

License

ISC

Last publish

Collaborators

  • ppvg