Node.js/npm/版本号码:修订间差异
来自康健生活
| 第72行: | 第72行: | ||
{{shc|<syntaxhighlight lang="bash"> | {{shc|<syntaxhighlight lang="bash"> | ||
if (test -a node_modules/<pkg>/package.json); then cat node_modules/<pkg>/package.json | grep version; fi</syntaxhighlight>|$|/home/kwy}} | if (test -a node_modules/<pkg>/package.json); then cat node_modules/<pkg>/package.json | grep version; fi</syntaxhighlight>|$|/home/kwy}} | ||
=== jq === | |||