⚡ A super‑lightweight JavaScript library to turn timestamps into friendly, human‑readable phrases like “just now”, “5 mins ago”, or “yesterday”. humantime-js makes your apps feel more natural by showing time the way people actually speak.
// momentum
// why it's here
- Active: last commit today
- Built almost entirely by one person
- Health 79/100 with only 9 stars
// how to help
// readme
“kayforms.jpg” alt=“KayForms” width=“85%” />
🤔 Why KayForms?
Every form library asks you to pick a trade-off: fast but inflexible, flexible but slow, React-only, or too big.
KayForms aims for all four: small, fast, framework-free, and debuggable.
Your form bugs? Rewind them. Literally.
| ⏳ Time travel | Record every keystroke, undo and redo, export a bug as JSON, replay it anywhere |
| 🌍 Framework agnostic | React, Vue, Solid, Svelte, Angular, or plain JS, all on one core |
| ⚡ Fine-grained updates | Only the field that changed re-renders, not the parent or siblings |
| 🔗 Cross-form signals | Share reactive state between separate forms |
| 🪶 Tiny | Small core, with everything else optional |
🆚 How it compares
| Feature | KayForms | React Hook Form | Formik |
|---|---|---|---|
| ⏳ Time travel debugging | ✅ | ❌ | ❌ |
| 🌍 Framework agnostic | ✅ | ❌ React only | ❌ React only |
| ⚡ Fine-grained re-renders | ✅ | ⚠️ Uncontrolled inputs only | ❌ |
| 🔗 Cross-form signals | ✅ | ❌ | ❌ |
| 📦 Bundle size (min+gzip) | < 3 KB | ~9 KB | ~12 KB |
| 🏎️ 1,000+ fields at 60fps | ✅ | ❌ | ❌ |