Search code examples
node.jsherokudependencies

heroku nodejs dependencies synthax



Which is the syntax to specify a module dependency on any (or last) version ?

I know that for a specific one, the synthax is :
 "dependencies": {
    "express": "^4.9.8"
  },

Best regards


Solution

  • While installing you can install with npm install express for the latest version.

    If you want a specific version. You can install with npm install [email protected]