Home Update Deno 2.Three provides compile enhancements, help for native…

Deno 2.Three provides compile enhancements, help for native…

171
shutterstock 1108024643 Sauropods dinosaur in tropical landscape

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.

Announced May 1, Demo 2.Three extends deno compile to help applications that use Foreign Function Interface (FFI) and Node native add-ons. This means compiled binaries can embrace and work with native libraries or Node plug-ins. Also, deno compile now can exclude particular information from being embedded through the compilation course of. This provides extra management over which information get packaged right into a standalone executable. With deno compile, builders can compile a challenge right into a single binary, permitting them to distribute ready-to-run applications with out having to put in Deno or dependencies.

Deno 2.Three additionally introduces a Deno.construct.standalone boolean to point if the code is working in a self-contained compiled binary. This might be helpful for error reporting, function toggling, person messaging, and extra, in build-specific environments, based on Deno Land.



Source hyperlink

LEAVE A REPLY

Please enter your comment!
Please enter your name here