Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am writing a bundler in Rust and am looking for a runtime to embed in my binary to execute JavaScript based plugins with.
Deno is written in Rust and offers the
deno_core
crate which offers a basic execution context for JavaScript applications.It's pretty great and easy to use however, looking through the examples, it appears very bare bones - offering only an execution context, where I must separately implement the Node standard library, module resolution, commonjs support and so on.
I could copy those features from the Deno repo and reimplement the usage as described in the Deno executable - but I was wondering if there was already a way to do this without manually rewiring a complete form of Deno in my own project.
Or have I misunderstood
deno_core
and it actually has batteries included? 😓Beta Was this translation helpful? Give feedback.
All reactions