Languages

Express.js - how to check express version?

0 points
Asked by:
Geospatial-Palus
420

How can I check my version of express.js?

1 answer
0 points
Answered by:
Geospatial-Palus
420

In your project go to the package.json file and search for "dependencies:" -> "express:"

Example

package.json file:

{
  "name": "example",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "keywords": [],
  "author": "",
  "license": "ISC",
  "dependencies": {
    "express": "^4.17.1",
    "mysql": "^2.18.1"
  }
}

You look for:

"dependencies": {
  "express": "^4.17.1"
}
0 comments Add comment
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join