Trying to understand if I always need to identify commonjs or module?
I have the following package.json file and do not see a type key, but they are using es module import statement. They also import json files without using createRequire(). How is this possible? Add to that that they are using require statements as well...how? var os = require('os'); in index.js below
index.js
0 Replies