DEV Community

Cover image for πŸŽ‰ Deno: 1.0 officially scheduled on May, 13! Review of the features

πŸŽ‰ Deno: 1.0 officially scheduled on May, 13! Review of the features

Olivier on May 08, 2020

🀠 Introduction It all started 2 years ago, Ryan Dahl, the creator of Node.js gave a talk at the JSConf 2018 "10 Things I Regret About No...
Collapse
 
dorshinar profile image
Dor Shinar

That's sort exciting! I've been following on the deno project for over a year, and seeing it reach a v1.0 release it's a great thing for the JavaScript community.
I still have my doubts (mostly relating to ditching a centralized package manager), but I hope it becomes mainstream soon!

Collapse
 
andreasvirkus profile image
ajv • Edited

Golang seems to be doing fine without one, so I think deno will do fine and I feel it was a right choice for them

Collapse
 
bozho profile image
Bozhidar Hristov πŸ”οΈ

Very interesting! I've read a few posts on Deno and it certainly sounds promising. From the standard library and the intended purpose I think that this is a backend oriented language.

I'm interested if because Deno runs on the Tokyo runtime, which is built in Rust and which has very strong type system, is the type system of Deno (TypeScript) improved over the JavaScript based TypeScript? Or the TypeScript type safety is the same in both?

Collapse
 
shortdiv profile image
Divya • Edited

The Deno TS Compiler is an improvement of the JS based TS. Because TS is compiled internally, TypeScript feels more native as compared to a JS implementations of TS. The eventual goal is to use swc, a rust compiler to compile TS but this hasn't been implemented yet

Collapse
 
bozho profile image
Bozhidar Hristov πŸ”οΈ

thanks, that certainly is an improvement

Collapse
 
wheelly profile image
wheelly

Guys, this is an awesome node replacement but still lacking openapi3 validation (ajv) like in node. I’d like to take part in transporting the existing ajv code to deno (which might be possible) but I cannot assess the quantity of work. Maybe you think it would be better off to implement an own deno openapi3 validator?

Collapse
 
warengonzaga profile image
Waren Gonzaga

Wow thanks! I'm excited to learn this...

Collapse
 
agustin107 profile image
Agustin N. R. Ramirez • Edited

Wow, this looks promising!
A suggest, add the example how to consume deps in other files :).

import { ServerRequest } from "./deps.ts";

Nice article πŸ‘πŸ½

Collapse
 
0wx profile image
Gilang Ramadhan 🈯️

I'm new in node.js, I want to ask something, what happend with npm now? So we have to import everything through jsdeliver or something?

Collapse
 
shortdiv profile image
Divya

With Deno specifically you import via a URL as long as the package is an ES Module. For discoverability, pika.dev is a great place to search for available ES Modules

Collapse
 
wobsoriano profile image
Robert

I'm testing oak now to make APIs :)

Deno facebook community launched facebook.com/groups/1663207167167533/

Collapse
 
mithsoft profile image
Nikhil Kumar

Nice article, a quick introduction video over Deno I found is: youtube.com/watch?v=_vdV6mOKxNE
Explains about security, permissions, bundling and modules, along with CRUD operations.

 
wobsoriano profile image
Robert

Okay. I thought it's related to the post. Thanks

Collapse
 
wobsoriano profile image
Robert

running in Deno?