node -p -e "require('./package.json').version"
The -p
argument prints the result and the -e
argument expects executable JS to follow it.
<アンダブロッブ />
node -p -e "require('./package.json').version"
The -p
argument prints the result and the -e
argument expects executable JS to follow it.