Learn extra at:
Deno Land has launched Deno 2.3, an replace of the corporate’s JavaScript and TypeScript runtime that brings enhancements to deno compile
and provides help for native NPM packages.
Introduced May 1, Demo 2.3 extends deno compile
to help applications that use Foreign Function Interface (FFI) and Node native add-ons. This implies compiled binaries can embrace and work with native libraries or Node plug-ins. Additionally, deno compile
now can exclude particular information from being embedded through the compilation course of. This gives extra management over which information get packaged right into a standalone executable. With deno compile
, builders can compile a undertaking right into a single binary, permitting them to distribute ready-to-run applications with out having to put in Deno or dependencies.
Deno 2.3 additionally introduces a Deno.build.standalone
boolean to point if the code is working in a self-contained compiled binary. This may be helpful for error reporting, function toggling, person messaging, and extra, in build-specific environments, based on Deno Land.