color-hash
Version:
Generate color based on the given string (using HSL color space and SHA256).
24 lines (23 loc) • 672 B
JSON
{
"name": "color-hash",
"version": "2.0.2",
"description": "Generate color based on the given string (using HSL color space and SHA256).",
"main": "dist/color-hash.js",
"module": "dist/esm.js",
"scripts": {
"prepublishOnly": "make build",
"test": "node -e \"const ColorHash = require('.').default; new ColorHash();\""
},
"repository": {
"type": "git",
"url": "https://github.com/zenozeng/color-hash.git"
},
"author": "Zeno Zeng",
"license": "MIT",
"bugs": {
"url": "https://github.com/zenozeng/color-hash/issues"
},
"devDependencies": {
"typescript": "^4.2.4"
}
}