6.0.2 • Published 6 years ago

hexify-string v6.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

Hexify String

npm Build Status codecov npm License

Install

npm install hexify-string

Usage

const { hexifyString } = require('hexify-string');

const hexStr = hexifyString('Hello');
console.log(hexStr); // cb2250

Reason

I saw the website randomstringtocsscolor.com and I thought it was pretty neat!

However, I noticed a lot of duplicates. (e.g. "he" produces #00ee00 , as does "hel"), so, I decided to rewrite it to have fewer duplicates.

Thanks

Many thanks to my friend Julian for taking time to review my code and offer advice.

6.0.2

6 years ago

6.0.1

6 years ago

6.0.0

6 years ago

5.0.1

6 years ago

5.0.0

6 years ago

4.0.0

6 years ago

3.0.6

6 years ago

3.0.5

6 years ago

3.0.3

6 years ago

3.0.2

6 years ago

3.0.1

6 years ago

3.0.0

6 years ago

2.0.2

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago