integrating deno_web

Ok I seem to have poobrain today. Can't seem to get the deno_web extension working. The core version on that crate is outdated so I assume that's not how I'm meant to use it ... just trying to get access to atob/btoa and the other methods it provides from deno_core
2 Replies
Deno AI Helper
Deno AI Helper10mo ago
Based on the documentation, Deno provides a global namespace where you can find various objects and methods, including atob() and btoa(). These interfaces are designed to be identical to those in the browser. If you're having trouble accessing these methods, it could be due to an incompatibility issue, which we aim to correct as part of our commitment to align with browser standards. However, the documentation does not provide specific information on the deno_web extension or how to use it with deno_core. It's also important to note that the Rust APIs, including the deno_core crate, are not yet at version 1.0 and we are still iterating on them. If you're having technical issues, it might be helpful to check the error messages you're receiving and ensure that you're using the latest version of Deno. If the problem persists, you could try asking for help in the Deno community or filing an issue on the Deno GitHub repository. 🦕
mmastrac
mmastrac10mo ago
We only publish the crates when we do a Deno release, so your best bet might be to use a git dependency for the crate temporarily.