npm package.json exports filed All In One
https://docs.npmjs.com/files/package.json
https://docs.npmjs.com/cli/v9/configuring-npm/package-json/#main
https://docs.npmjs.com/cli/v9/configuring-npm/package-json#workspaces
https://docs.npmjs.com/cli/v9/configuring-npm/package-json#exports ???
Node.js exports
module.exports vs. exports
https://www.freecodecamp.org/news/node-js-module-exports-vs-exports-ec7e254d63ac/
demos
{
"main": "./index.js",
"exports": "./index.js"
}
{
"exports": {
".": "./index.js",
"./subpath.js": "./subpath.js"
}
}