![Introducing Enhanced Alert Actions and Triage Functionality](https://cdn.sanity.io/images/cgdhsj6q/production/fe71306d515f85de6139b46745ea7180362324f0-2530x946.png?w=800&fit=max&auto=format)
Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
color-hash
Advanced tools
Readme
Generate color based on the given string.
https://zenozeng.github.io/color-hash/demo/
bower install color-hash
A UMD version of ColorHash was located in dist/.
Note that Array.prototype.map was used in color-hash, a pollfill must be provided if you want to use it in IE8.
npm install color-hash --save
var ColorHash = require('color-hash');
MIT.
虽然 LAB 的色彩分布对人眼要更加线性一些,但是色域要更大,转换过程要更加复杂。 考虑的一个关键点在于,HSL 色彩空间可以很方便地控制参数, 比如亮度和饱和度,这样生成出来的颜色都是一个比较均匀和谐的分布。
sudo npm install -g mocha
npm test
https://zenozeng.github.io/color-hash/test/coverage.html
sudo npm install -g browserify
npm run build
FAQs
Generate color based on the given string (using HSL color space and SHA256).
The npm package color-hash receives a total of 67,158 weekly downloads. As such, color-hash popularity was classified as popular.
We found that color-hash demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.