flyingfoxxx
flyingfoxxx•4w ago

can't access jsr packages in deno v1.3.6

hi, we're running an older version of deno which isn't aware of jsr and doesn't have an "add" option. can someone help us import a basic @std/io package to get started?
3 Replies
Leokuma
Leokuma•4w ago
You'll have to import (by using the import statement) either from here: https://esm.sh/jsr/@std/io@0.224.8 Or from here: https://cdn.jsdelivr.net/gh/denoland/std@release-2024.09.16/io/mod.ts
flyingfoxxx
flyingfoxxx•4w ago
it worked, thanx!
Doctor 🤖
Doctor 🤖•3w ago
If your version has the jsr: specifier then you can just add it manually to the deno.json file.