DEV Community

Discussion on: Import Javascript subfolder modules like a boss.

Collapse
 
dividedbynil profile image
Kane Ong

Impressive boss up!
I can tell Deno guys are getting nervous...

Collapse
 
tomiiide profile image
Tomide Oladipo

Hahaa, I can feel them shaking in their boots.

But isn’t Deno just Node, I haven’t taken a deep dive, but I assume this would work in Deno too.

Collapse
 
dividedbynil profile image
Kane Ong • Edited

Deno ditches the package.json, so the local packages discoverability affected. For now, importing subfolder modules will remain inconvenient.

For more info:
github.com/denoland/deno_website2/...

Collapse
 
spez profile image
Abhigyan • Edited

Yep! It works. Deno was made to take NodeJS to a more advance level, but not to degrade it. Ryan Dahl has worked very efficiently on Deno. And I think it will be supported by many companies soo after its stable releases.

Thread Thread
 
dividedbynil profile image
Kane Ong

Do you mind showing us how it works in Deno?

Thread Thread
 
spez profile image
Abhigyan • Edited

It's Not the correct ⌚

I currently don't have Deno setup in my PC, and I don't even bother to. I would once when the release become quite stable and it would be the correct time to ditch NodeJS. Till then, STAY HOME STAY SAFE!

See ya!