UNPKG

colorparsley

Version:

colorParsley() • a lightweight yet versatile color parsing function with no dependencies. Takes various color strings, numbers, or objects, and turns them into simple arrays. Bonus utilities colorToHex() and colorToRGB() included

39 lines (38 loc) 962 B
{ "name": "colorparsley", "version": "0.1.8", "type": "module", "description": "colorParsley() • a lightweight yet versatile color parsing function with no dependencies. Takes various color strings, numbers, or objects, and turns them into simple arrays. Bonus utilities colorToHex() and colorToRGB() included", "main": "./src/colorparsley.js", "keywords": [ "color", "colour", "CSS", "contrast", "design tools", "string parsing", "HSL", "HWB", "sRGB", "RGB", "RGB parsing", "hex string", "regex" ], "author": "Andrew Somers", "license": "AGPL v3", "bugs": { "url": "https://github.com/Myndex/colorparsley/issues" }, "repository": { "type": "git", "url": "https://github.com/Myndex/colorparsley.git" }, "homepage": "https://www.myndex.com/APCA/", "scripts": { "test": "ava test/index.js; ava test/reject.js" }, "devDependencies": { "ava": "^4.3.0" } }