Comments (8)
hi, you can use esm.sh for now, util this feature is added.
- https://esm.sh/jsr/@kwhinnery/[email protected]
+ https://jsr.io/@kwhinnery/[email protected]
from jsr.
FYI esm.sh already added support for JSR.
from jsr.
The JSR website says it works with any runtime. Which is a pretty bold claim when it doesn't work in browsers :P
from jsr.
The JSR website says it works with any runtime. Which is a pretty bold claim when it doesn't work in browsers :P
It's actually a bit more complicated than that. It works on projects when your back end process/bundle your front end.
But for me personally, the good ol' browser link is the way for quick and dirty prototyping. For some people, it's even their norm.
from jsr.
For me it's my norm, it's why I exclusively write .js files ๐
Fwiw, jsr's usage policy says:
It is not acceptable to use JSR as a CDN for serving assets directly to web applications in a browser, except for development purposes. JSR is not a general purpose file hosting service.
So I suppose that even if this does get added, it will still be pretty useless.
I think maybe instead we should start bugging jsDelivr. They already support npm, so hopefully they could make use of the npm compatibility layer without too much effort. Their site says:
Custom CDN Hosting
We can work together and set up a custom configuration for your project. This way, you can have full control over your files and the ability to utilize the full power of jsDelivr.
from jsr.
Ah cool! I wasn't aware.
from jsr.
Yes to all of you that re-mention it, esm.sh already added support of JSR, that's the title and the whole point for this issue:
Make it available for JSR too please.
Why should we use something else to get JSR modules?
from jsr.
I'm not here to annoy anyone subscribed to this issue, but...
Is this feature being even considered by the devs? I haven't found anything about them planning on adding this.
from jsr.
Related Issues (20)
- display a release timeline on the versions page of a package
- function in object is inferred as `any` with Node.js project
- Negative infinity in a type causes "Failed ensuring public API type output is valid." HOT 2
- Package's github link HOT 6
- How are packages selected to be featured on the home page? HOT 1
- Inconsistent behavior when using `bunx jsr add` (on Windows) HOT 1
- Include package score weights in API response
- [Feature request] `logoColor` option for badges HOT 3
- Idea: function/class names in example code blocks as clickable links
- bun and monorepos HOT 2
- Failed to resolve dependencies using package.json or import_map.json HOT 5
- Suggestion: the jsr.io site URLs should better reflect the module specifier HOT 1
- scripts defined in bin are not added to the node_modules/.bin directory HOT 4
- Unpublished packages should not return a 404 HOT 4
- [BUG] Imports not being properly deprefixed from `npm:` HOT 4
- CI CD pipeline is stuck on publishing package to JSR (Already uploaded, waiting for publishing) HOT 6
- Bug: publish dosn'ะต work HOT 2
- Increase font weight and size in OG images
- Doc links to 404 because of missing `/` in middle HOT 2
- Provenance in REST API HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsr.