Answers for "how to check my npm version in package.json"

16

npm check package version

local packages:
~$ npm list

globally installed packages:
~$ npm list -g

specific package:
~$ npm list <package>
Posted by: Guest on March-29-2020
1

npm get package.json version

node -pe "require('./package.json')['version']"
Posted by: Guest on August-27-2020

Code answers related to "how to check my npm version in package.json"

Browse Popular Code Answers by Language