Add Deno

Deno was released in May of this year. In order to future proof our projects, it would be great of the Deno framework was added to Wappler.

Hi. I tried reading about Deno, but could not wrap my head around it. Is it NodeJS specific? And what does it exactly do that Wappler projects can benefit from?

The founder of NodeJS, Ryan Dahl realised that NodeJS is an outdated product. It was created in 2009 when the standard for JavaScript modules was CommonJS. Since then JavaScript modules have been based on ES (ECMAScript).

Dahl then went on to create DENO which supports TypeScript.

According to Dahl, NodeJS suffers from three major design issues:

  • a poorly designed module system, with centralised distribution;
  • lots of legacy APIs that must be supported;
  • lack of security

Deno fixes these problems.

For the average Wappler user, changing to Deno will not change a thing. But thinking ahead, when Wappler is used in large organisations with large applications???

Thanks for the details. :slightly_smiling_face:

What about library support? Does Deno support all NodeJS libraries?

This will answer some of your questions:
https://blog.bitsrc.io/will-deno-kill-npm-dd46c50be715

1 Like