5 ms·
There has been an effort to both replace npm with a better model and to have a stable standard library. See https://jsr.io/@std https://jsr.io/@std
by bblaylock 9mo ago
There has been an effort to both replace npm with a better model and to have a stable standard library. See https://jsr.io/@std https://jsr.io/@std
- bikelang 9mo agoIs the ambition to lift this out of Deno? Bun brings its own standard lib too right? Are the two coordinating at all?
- WorldMaker 9mo agoThe stuff on JSR is lifted out of Deno. JSR can install packages for Node and Bun [0]. Most of the "@std" packages in the link above claim support for Bun (the right hand of the package list "stack of avatars" will have the Bun avatar; easier to read on individual package pages where it becomes a header, though), and there is a Bun test matrix in the GitHub Actions CI. (Right now it looks like it just has Bun latest in the matrix, though.) In terms of coordination, I don't see any obvious Bun contributors in a quick skim [1], but it seems open to contribution and is MIT licensed. [0] https://jsr.io/docs/using-packages#adding-a-package https://jsr.io/docs/using-packages#adding-a-package [1] https://github.com/denoland/std/graphs/contributors https://github.com/denoland/std/graphs/contributors
- bikelang 9mo agoAh that’s cool. I really hope this takes off!
- gr4vityWall 9mo agoLast time I checked, the only way to publish to it was through a GitHub account. I hope support for other providers got/will get added.