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 assist for native NPM packages.
Introduced Could 1, Demo 2.3 extends deno compile
to assist applications that use International Operate 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 throughout the compilation course of. This presents 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.construct.standalone
boolean to point if the code is operating in a self-contained compiled binary. This may be helpful for error reporting, function toggling, consumer messaging, and extra, in build-specific environments, in response to Deno Land.