DEV Community

[Comment from a deleted post]
 
patarapolw profile image
Pacharapol Withayasakpunt • Edited

You can indeed use simply import_map.json.

The point of Deno is further adherance to web standard, even forced sometimes.

Another point is security of Node.js can be better.

 
hanna profile image
Hanna

Yes as there isn't any package/meta files in a project using Deno. That's kind of the point I'm trying to make. The directory and file structure is a lot cleaner as the formatter, linter, package manager, etc is all built into the executable.

 
bias profile image
Tobias Nickel

i think as time goes bye, node.js modues will also change. node.js already moves to esm modules.

 
hanna profile image
Hanna • Edited

They haven't moved to them completely, but they are supported. The main issue with them moving to ES modules is a lot of people still use require and other CommonJS features.