The semver library used in npm, yarn and pnpm could be made 33x faster. Ran into that while wondering why running `npm install` takes so long on the Preact repo. marvinh.dev/blog/speedin...
35 reposts199 likes
The semver library used in npm, yarn and pnpm could be made 33x faster. Ran into that while wondering why running `npm install` takes so long on the Preact repo. marvinh.dev/blog/speedin...
35 reposts199 likes
I wonder how it compares to jsr.io/@std/semver/ which I’ve used whenever I’ve actually parsed semantic versions in JS for reasons.
Funny, I did something similar to pnpm a few years ago github.com/pnpm/pnpm/pu... I also started working on a new server lib that was a lot faster (I think I at least 10x'd it), but never got around to finishing it