Conversation
ms-tiny is API-compatible with ms and ships both ESM and CJS exports with built-in TypeScript types. 833 bytes gzipped, zero dependencies. Made-with: Cursor
222337c to
140e361
Compare
UlisesGascon
left a comment
There was a problem hiding this comment.
Hey @ofershap! Thanks so much for reaching out and for the effort you've put into building an alternative to ms. It's always exciting to see new libraries in the ecosystem! 🙌
We've had a long-standing relationship with the ms team and have relied on them for many years, so we're not actively looking to move away from that dependency at this point.
That said, our hesitation with adopting newer libraries is mostly around supply chain risk. Since your package was published just a few days ago and is still building up its community, it feels a bit early for us to take that step. It's nothing against the quality of your work!
Honestly, one of the biggest ways you could make an impact for us (and many others) would be contributing your improvements, like ESM + CJS support with built-in types, back to the original ms project. That way, we'd naturally benefit from your work without needing to change our dependencies. Have you considered opening a PR or discussion there? We'd love to see those improvements land upstream!
mshas no subdependencies but also no TypeScript types, no ESM exports, and returnsundefinedon bad input.ms-tinyis a drop-in replacement with the same API. Ships ESM + CJS with built-in types. 833 bytes gzipped, zero deps.All 139 tests pass without changes.