dhax_or
I built Mynota, a minimal, browser-based text editor where the entire note is compressed and stored in the URL hash. That makes notes instantly shareable without any backend, accounts, or tracking.
Key ideas:
Uses the browser’s native Compression Streams API (deflate-raw)
Everything runs client-side (no servers, no DB, no analytics)
URL hash is the primary storage; localStorage is a fallback
Works offline and can be bookmarked
I’d love feedback on the approach, compression strategy, or edge cases you think I’ve missed.
Better-Mitt: A tiny (~400B) TypeScript-first event emitter that improves on Mitt
- once() for one-time listeners - hasListeners() and listenerCount() for introspection - clear() to reset everything - Safer emission that protects against handler modification during events - Full TypeScript support with generic types
Same familiar API as Node's EventEmitter and original Mitt, so it's a drop-in replacement. I've been using it in production and it's been solid.
GitHub: https://github.com/Dhaxor/better-mitt
NPM: npm install better-mitt
Would love feedback from the community - and if you find it useful, a GitHub star would be much appreciated!
Show HN: SuperUtilsPlus – A Modern Alternative to Lodash
https://github.com/dhaxor/super-utils-plus
Hey HN!After years of wrestling with Lodash's quirks and bundle size issues, I decided to build something better. SuperUtilsPlus is my attempt at creating the utility library I wish existed.What makes it different?TypeScript-first approach: Unlike Lodash's retrofitted types, I built this from the ground up with TypeScript. The type inference actually works the way you'd expect it to.Sensible...