Maxi (@_onmax) header
Maxi (@_onmax) profile picture

Open Source Maintainer - Nuxt Team Building https://nitter.cf/t.co/muSlDXFEiG, https://nitter.cf/t.co/zhApas99LS, https://nitter.cf/t.co/VeIiLSVoZT

Lund, Sweden
Joined January 2022
nuxt-formisch v0.1 is out, rebuilt on Formisch 1. One Valibot schema in shared/ types the form and validates the request body. With Nuxt UI, <FAutoForm :schema="LoginSchema" /> renders the whole form. I've used this in my projects for over a year. Never looked back. nuxt-formisch.onmax.me
1
9
331
Comark renders Markdown to HTML 6-7x faster than remark, so I wrote a codemod to switch. pnpm dlx remark-to-comark migrate comark-ui.onmax.me/remark-to…
2
20
620
I wanted a Markdown editor where several people edit the same doc live. So Comark UI has one now. Tiptap, Markdown in and Markdown out. Plug it into ViteHub Realtime and you get live cursors and who's editing. comark-ui.onmax.me/play/edit…
1
1
22
665
Replying to @_onmax @one
The parsers are also TypeScript 7.1 content mappers, so importing a .yaml, .json5, .jsonc or .ini file gives you a typed object. tinyaml also has a YAML linter, an ESLint plugin and a Vite Doctor extension.
1
32
Gzip size and parse time for a large file, original → tiny: yaml → tinyaml/yaml 29.8 → 16.9 KiB, 35.9 → 2.9 ms json5 → tinyjson5/json5 7.5 → 3.2 KiB, 7.3 → 0.9 ms @one-ini/wasm → tinyini/one-ini 36.0 → 1.7 KiB, 7.2 → 0.6 ms Apple M4, Node 26.13.0.
1
2
83
tiny v0.1.0 is out: dependency-free replacements for the YAML, JSON5 and INI parsers you already use. 18 drop-ins for 11 libraries. npx tinyswap It rewrites your imports and swaps the dependencies. Or change one import by hand. tiny.onmax.me 🧵
2
2
1
17
796
I got tired of writing enabled === 'true' for env flags. nuxt-safe-runtime-config converts each env override to the type in your schema. NUXT_PERF_TRACE_ENABLED=1 is true, not "1". And useSafeRuntimeConfig() is fully typed. nuxt-safe-runtime-config.onm…
11
423
Comark UI now picks up the theme of Nuxt UI and shadcn/ui apps on its own. It reads their CSS variables for colors, radius and dark mode. No Nuxt UI or shadcn? It ships a default theme, so it works with zero setup. comark-ui.onmax.me/guide/the…
1
1
32
984
I asked Opus to teach me my own Nuxt PR. It came back with a 3 minute video: voiceover, animations synced to every word, and a quiz at the end. github.com/nuxt/nuxt/pull/36…
1
1
10
494
the new comark ui badges goes really hard with npmx.dev npmx.dev/package/comark-ui
2
18
1,474