npm view
查看注册表信息
概要
npm view [<@scope>/]<name>[@<version>] [<field>[.<subfield>]...]
aliases: info, show, v
描述
此命令显示有关包的数据并将其打印到 outfd
配置引用的流中,该流默认为标准输出。
要显示 connect
包的包注册表项,您可以执行以下操作:
npm view connect
如果未指定,则默认版本为 "latest"。
可以在包描述符之后指定字段名称。例如,要显示版本 0.3.5 的 ronn
包的依赖关系,您可以执行以下操作:
npm view ronn@0.3.5 dependencies
VGVMgoPZj7+5/1UZnnHDALDXu3luSpwd8WMg1h5YVaujn8f4uoDVdV+DDqkDwgLoL/VYb1robPHXWK+kaCAcoaoSj494KmWqW0sIatWwVVam6tm4vSziQJrkE+l+deInw+12t6V59tZlLKmm5T/ReHsSFPk7fulPMd0tr+YDlt3egZM8sX5UPvEhhdq9RK6a
npm view npm repository.url
JnUpzE9jDDcV//bqWYsnCW4K5Ho0MX89yYdcRTAmX/p4uNcXCowieUJPbnlF1BPj/k3QwGUGJP3zhpK2oKi6V5EdjkI8edIxXh8NvtS7EM5XgnwevNdohn+d4UwDVfEVLRxOs84qx8KhcRnO/BXGzcvM8LlGXWFY5YCH80Mj8TNGuFfv9HxswKoFC1T9v9h1fC69Ojg7TczpTwiVdxsceQ6FKMJNFmPgcrVuUF42Tn4=
npm view opts@$(npm view ronn dependencies.opts)
TMPMIeAajiBPWE6CnfVAB6n0S53daPfVY4yPOtLOHE5uARwSyrmXBeZgbFZS2KcvgtS+GF7C3uwW3WvuR6Wo84YQiKMirjUz93zwWWhTGVQbNJAjiOUDOPQHNgBPAKgxxE+kOTGiLuXk7RN+xJhe+MoS6R/prPpN/gAcb22sComyMnvdAbIItm8sh1B7aFeWXaR/icchDyk04Fims7qEJMfenkYElaA3UxYYHScj81g=
npm view express contributors.email
WfCkrHfP/DROt84WSISu/l9uQ/qik2qf86Z2ow+EW5AuVXydjv4RevxYfv8ZluwF5al+dgQnuQ6rCji8nYoUcBQj7RaPvk8QzrmsDItWaKLDSImaGLBwbMHcaJlpX1/WowhyMeClT2uKwGcEGKL9lXSq1PUd5RQbG6liZN3NnIMsSsEApjE7oVQnvAhkQPrb0qFu0F8oaxTsSjKOzPuh3pdNekBvm2VEwD8qUzPdeKiQcL8JYe8F4h5TgFO39oW9
npm view express contributors[0].email
QmyYjT7eadlvace76hBD7fzKhtBPS4CEM/J1RNlp54PuHEUvLEpMCbejeHBDQTtF9z8GUPJhnqSyuTGAfWzNhbsOu4Nvrg7UmLZ+dotSHGx9ixHzbxMe+/hFNBNyCk1UTYuFgyKRhv/dLtSMRFo52crLJJ7WKXyAYj1CjB/XQ3WxvP/7VfqvfPyVHnRskLoGqIKTYzocBNWaL6YzcRRuFQ==
npm view express contributors.name contributors.email
XCkG9P5b6Novelhr12ntcPwnckvv9WYO+rirsZzNqVrCL8nMph9VT/G1Lb2XtT7arEs1qICgzV5WT+zslxNo0L/IMqMzkYeNcfb1es81Czl/kHSLygwT2x2SkRF7phd7nIxie2LP1tRiZRWf6w9KIbXJ4HfUOjTEhSCe5zIy4wfF4zn6pYwhlM/QNsEhIVT8H3EOvgYcD4gVVTlit/CF/nTqRuFySaQ5pQgrI+s0lolCHMfqOAGDw47Wi/O/poJSWTWKxBtQpklX7ftQQtfbFSixpUiVXmlhZuA/iNB7pxy3cFXhAqhRsmWyTzgVrPGKf4IWQGzuJqFP1NRhDGJOV44ftKMhCoajPzMItmzBnVI=
npm view npm contributors
aABo+zmFnDtOGhUtGgunGpP49GabA6qLfvPsrKMSDzgYwc25iz6uITtCU6JD24f1Gre++tv0uD7MBZ8EvNyMTU4+5KICWzOtHQY0O21BoEQbyQI/puSxK4gC/9qmaTod3f6zE157PqUKhV0ZGw/GhtuhJdDro2JE+u2p77XOL7LYAaGUc0W8NAeoR9I7PfLe4hEl9Sj3xUI1Melzb2+HiQ==
npm view yui3@'>0.5.4' dependencies.jsdom
kuB73L7pc2IN53HHpLzF8MwytETkh9H0EZNSwjeI09oyFJAZExsYFCiJDfeuTIYGBqV2scjhRzvdpZkdOfHka1knnYxE/A7pUhTB62/gHqo=
npm view connect versions
输出
06Y1P/qQhAnJxFBBElYD8DNFACzXkau6HurUlptiNb2RG87D64m6WtHhcS/fTEPE44ZtEG/I+J2tF4vqBZ9LEEaf4E6QssAhVyNE0NWr1o+yNifiqRPh8gJnSEr7eZuE69BEBxA1tjVZujw/pzDL96I1mgJMWlALRT9T204QHkOXvexk/J7dq0137VmqDdhHQ1JjpoEoLn6XREQgFKIFThuzuzFCpkj6Th7NITM5tS6LhimjHE96aQwtaJ14EoXYhfuvngCO389PXOLRln5rSTKbdapvSAOyF4PuHzW+yVLO8/D0p5MxVv6SL95BLIij
LLGwHTva8plO4dPIHq699gz9i53/YkgRFw/mJ2aTI23340epD8n++R1upj6z/j8DeZarmLYka9H7fuKZX+pB32HL+wbNDY75CmMekmYDjSE=
cTYGpAl0ALvW2LJPuOCuLFczTSg05ElmvtXboqH6rBKgj4DtgsbbCcHTekstoNVDl1HiBcGbTYUKwIjMky6nUNBr/Cw26bPxRcRYgNLaLD6+SrryZoPN9oXpagXMax+si/wtJwaPnOwOKuMuVsPpaA==
Ek85/AP3XKFLe9EFm9cyI4PmMTzYrUro+ImORWKknINM1NmUWNaUxMv0PI0GLSmYIhdC9XUwwF40C7Taoh9sV7xbOL5mSLECvX8RdFAoL+Y=