shorten-css-hex
Shorten CSS hex codes
Install
npm install --save shorten-css-hex
Usage
ES2015
; ;// => '#000' ;// => '#abc' ;// => '#123f' ;// => '#123456' ;// => '#123456ff'
ES5
var shortenCssHex = ; ;// => '#000' ;// => '#abc' ;// => '#123f' ;// => '#123456' ;// => '#123456ff'
LICENSE
MIT © Dustin Specker