Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

npm get package.json version

 node -pe "require('./package.json')['version']"
Source by gist.github.com #
 
PREVIOUS NEXT
Tagged: #npm #version
ADD COMMENT
Topic
Name
8+4 =