6

nodejs 如何查看安装包对应版本的官方文档

 2 years ago
source link: https://www.v2ex.com/t/837998
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

nodejs 如何查看安装包对应版本的官方文档

V2EX  ›  JavaScript

nodejs 如何查看安装包对应版本的官方文档

  ling516 · 1 天前 · 579 次点击

有命令没有 还是需要去官方查看

8 条回复    2022-03-05 11:33:55 +08:00

karott7

karott7      1 天前

package-lock.json 下搜

karott7

karott7      23 小时 21 分钟前

补一句,其实很多包的 package.json 里都有个 repository 字段或者 homepage 字段,你进 node_modules 下对应的包搜下

jinliming2

jinliming2      22 小时 55 分钟前

@ling516 第三方包的话,有官方文档的话,很多包会提供历史版本的文档的,官网切换旧版本就行。
或者你安装完进 node_modules ,找到对应的包,绝大多数包都是会把 README.md 和 docs 打包进去的,就是对应版本的文档。
没有的话,就只能去他们官方 GitHub ,切 tag 到历史版本看了。

seki

seki      22 小时 26 分钟前

大部分的包都没有必要把包版本和 node 版绑定起来,都是可以兼容的或者兼容最新版本的

所以你的实际需求是什么

anc95

anc95      21 小时 1 分钟前

看 release log 反推

dengshen

dengshen      9 小时 33 分钟前 via iPhone

在 webstorm 中把鼠标放在 package 中的包名上就有详细说明了

关于   ·   帮助文档   ·   API   ·   FAQ   ·   我们的愿景   ·   广告投放   ·   感谢   ·   实用小工具   ·   2473 人在线   最高记录 5497   ·  

创意工作者们的社区

World is powered by solitude

VERSION: 3.9.8.5 · 18ms · UTC 13:07 · PVG 21:07 · LAX 05:07 · JFK 08:07
Developed with CodeLauncher
♥ Do have faith in what you're doing.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK