Building: ⬡ https://xitter.cf/t.co/DPATjgvcxg ⁘ https://xitter.cf/t.co/CbRZQqeINV

Joined April 2022
Introducing Kirari ✨ A tiny, DOM-free syntax highlighter for the web. • 2.9 kB gzipped core • 48 languages • custom theme • Streaming support • Zero runtime dependencies Built to be lightweight and customizable. kirari.sh
11
29
2
489
17,910
✅ satisfies operator (TS 4.9+) ✔️ Enforces the shape ✔️ Preserves literal types ("#5a58f2") ✔️ Better autocomplete & inference
1
34
❌ Type annotation (: ThemeSchema) This narrows the object to ThemeSchema ➡️ hex becomes string ➡️ Literal types are lost ➡️ Worse inference
1
102
Switch Toggle 🔛 Link to #codepen 👇
1
1
104
CardStack Interaction 🃏 Smooth shuffle animation using #GSAP. The details are key - timing, easing, and that satisfying snap. What do you think? Any details you'd tweak? Link to CodePen 👇
1
1
114
Now 👇
25
✅ Do: Recursive conditional type
1
39
Typescript 🔹 ❌ Don't: Shallow readonly. This is top level readonly
1
45