0.1.0 • Published 10 years ago
identicol v0.1.0
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).
0.1.0
10 years ago