It's clearly possible to do this. Perhaps it's just a misunderstanding as a result of how articles like this are worded when it comes to dependency management. Talking about 'not having a package.json and instead uses URL imports' is kind of a moot point when in many cases you'd use one anyway, just not JSON.
It seems weird to make the point of calling it out as a difference between node and deno, but is it really any different?
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.
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.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
It's clearly possible to do this. Perhaps it's just a misunderstanding as a result of how articles like this are worded when it comes to dependency management. Talking about 'not having a package.json and instead uses URL imports' is kind of a moot point when in many cases you'd use one anyway, just not JSON.
It seems weird to make the point of calling it out as a difference between node and deno, but is it really any different?
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.
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.
i think as time goes bye, node.js modues will also change. node.js already moves to esm modules.
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
requireand other CommonJS features.