D
Deno

help

`deno run` as a library

Ppalmik8/27/2023
deno run does a lot of useful things behind the scenes, many of which are not exposed as a library, but are instead in the binayry-only crate. Thinkgs like npm-resolution, fetching & caching, etc. Is there some official or active community effort to make these components accessible in the form of a library?
TTestersen™8/28/2023
deno_emit and deno_bundle
Ppalmik8/28/2023
I looked into emit, and it's Rust API is incomplete, and the JS API does not support NPM import (https://github.com/denoland/deno_emit/issues/132) Deno bundle is, as far as I understand, no longer maintained.
GitHub
Rust API? · Issue #132 · denoland/deno_emit
While this crate provides nice JS API and Rust library, the Rust library seems to be missing several crucial dependencies, for example ones that would allow you to bundle modules with remote import...

Looking for more? Join the community!