mihailshumilov
TypeScript Unit Dimensions Converter
unitsafe encodes dimensional information into TypeScript's type system. The compiler rejects invalid operations at build time, and the library provides ergonomic unit conversions with runtime metadata for display and formatting.
Why not just use plain numbers with naming conventions?
distanceMeters + timeSeconds compiles and runs silently, producing garbage Naming conventions don't compose: what type should distanceMeters / timeSeconds have? Off-by-one scale errors (forgetting to convert km to m) are invisible until production unitsafe gives you:
Compile-time errors for dimension mismatches (add/sub/compare) Automatic dimension composition for multiply/divide (m/s, m^2, kg*m/s^2) Type-safe conversions between compatible units (km <-> m, s <-> ms, C <-> F) Branded types that prevent accidental mixing of raw numbers with quantities Tiny runtime — each quantity is a 4-property object; no classes, no prototypes
The New CSS
If you like the idea of utility classes… but don’t like 40KB+ frameworks, build steps, or config overload — this might be for you.
What makes it different?
~5KB gzipped No build step Modern CSS features (OKLCH, container queries, CSS variables) Works with plain HTML Designed for clarity, not abstraction
The philosophy is simple:
- Use modern CSS as much as possible. - Keep utilities minimal. - Let the browser do the heavy lifting.
What’s new in this update?
• Improved documentation structure • Better internal navigation • Expanded utilities reference • More examples and usage patterns • SEO improvements so developers can actually discover it
I’m aiming to make it:
– a serious lightweight alternative to larger utility frameworks – a great fit for landing pages, SaaS apps, indie projects – ideal for devs who prefer simplicity over heavy config
If you’re building:
• a side project • a startup landing page • a fast marketing site • a minimal design system
…give it a look and let me know what you think.
Feedback, critiques, and pull requests are welcome
hashtag#css hashtag#webdev hashtag#frontend hashtag#opensource hashtag#utilitycss hashtag#moderncss hashtag#javascript hashtag#indiedev
Please leave your feedback
Image Optimizer for Next.js
PHP Parser for Conll-U
If you need parse Conll-U data in PHP you can use https://github.com/mihailShumilov/conll-parser
New release of page content detector
I pushed a lot of improvements for page content detection. https://github.com/mihailShumilov/readability/tree/v4 Its open source :) and I need your help with testing Thanks a lot