If the folder can be published to https://registry.npmjs.com, it must be contain a package.json file, so it must be a "package".
If the package has neither index.js file nor the "main" field in package.json, then it is not a module.
So, I think the "npm install " better than "npm install ".
If the folder can be published to https://registry.npmjs.com, it must be contain a package.json file, so it must be a "package". If the package has neither index.js file nor the "main" field in package.json, then it is not a module. So, I think the "npm install" better than "npm install ".