is it possible to use deno std libraries that are "browser compatible" via npm?
hello
i am currently working with yarn+vite project for a small website project.
i want to use this base64 library: https://github.com/denoland/std/blob/main/encoding/base64.ts in my project, but i'm having trouble figuring out if this is possible through npm: https://github.com/denoland/std/issues/641
GitHub
std/encoding/base64.ts at main ยท denoland/std
The Deno Standard Library. Contribute to denoland/std development by creating an account on GitHub.
GitHub
Make Standard Library browser compatible ยท Issue #641 ยท denoland/std
Hi! Now that you are working on review and stabilizing the Deno Standard Library here https://github.com/denoland/deno/issues/8405, I like to make a suggestion. One of the greatest point of Deno is...
4 Replies
oh, i found this https://www.npmjs.com/package/deno-std, will try and see how it goes, but this does seem like its just being done by one guy lol
oh i guess this one is all js with no types, guess that doesnt really work well
npx jsr add @std/encoding
JSR
@std/encoding - JSR
@std/encoding on JSR: Utilities for encoding and decoding common formats like hex, base64, and varint
The std isn't published on npm, but you can still use it in node by importing it from jsr.