Filter by tag:
JavaScriptnpm
Termi-linkPublished to
This library provides clickable terminal links for terminals that support them. It is designed to seamlessly replace popular terminal-link.

Reason

https://github.com/sindresorhus/terminal-link/issues/18 - terminal-link unfortunately adds a %E2%80%8B (Zero Width Space (ZWSP) character in Unicode, code point U+200B) to the start and end of the link in unsupported terminals, which makes links lead to 404 at least on Windows.
JavaScriptnpm
Precise ColorsPublished to
This library converts colors between various models without performing any rounding.
The idea is that if a non-trivial conversion is needed, you would perform a sequence of conversions and apply rounding only at the very end, minimizing mathematical errors along the way.
ts
1import { 2 hsl2hsv, 3 hsv2rgb, 4 Rgb, 5 rgb2hsl, 6} from "precise-colors"; 7 8const rgb: Rgb = { r: 100, g: 150, b: 255 }; 9const hsl = rgb2hsl(rgb); 10const hsv = hsl2hsv(hsl); 11const back = hsv2rgb(hsv);
av
Anton VeretennikovPersonal Landing Page