如何查看npm info命令输出的详细信息?
在前端开发领域,npm(Node Package Manager)是必不可少的工具之一。它为开发者提供了丰富的第三方库和框架,使得我们的工作变得更加高效。在npm的使用过程中,经常会用到npm info
命令来获取某个包的详细信息。那么,如何查看npm info
命令输出的详细信息呢?本文将为您详细介绍。
一、了解npm info
命令
npm info
命令是npm提供的查看包信息的命令,它可以帮助我们了解某个包的版本、依赖、作者、描述等信息。使用该命令时,只需要在命令行中输入npm info [包名]
即可。
二、查看详细信息的方法
基本输出
当我们使用
npm info [包名]
命令时,默认情况下会输出该包的基本信息,如版本、依赖、作者等。例如:npm info express
输出结果如下:
express@4.17.1
Author: TJ Holowaychuk(http://visionmedia.com)
Description: Fast, unopinionated, minimalist web framework for Node.js
Homepage: https://expressjs.com/
Version: 4.17.1
Main: index.js
Binaries:
Dependencies:
body-parser@1.19.0
cookie-parser@1.4.4
compress@1.7.4
connect@4.0.1
cookies@0.7.1
debug@4.1.1
dot-prop@5.2.0
emit-long-stack-trace@1.1.0
escape-html@1.0.3
express-accepts@1.3.4
express-connect-timeout@1.4.5
express-errorhandler@1.5.0
express-fileupload@1.2.0
express-session@1.15.6
cookie@0.4.1
cookie-signature@1.0.6
ms@2.1.2
negotiator@0.6.1
on-demand-require@1.0.2
send@0.2.0
serve-static@1.13.1
type-is@1.6.15
cookie-session@1.4.0
express-validator@6.6.0
method-override@3.2.0
serve-index@1.9.1
cross-env@5.0.1
express-ws@4.0.0
ws@5.3.3
fast-deep-equal@1.0.7
lodash@4.17.15
array-includes@2.0.4
array-unique@0.3.2
async@2.6.2
async-local-storage@1.3.0
async-stacktrace@1.2.1
base64-js@1.5.1
binary@0.3.0
buffer@5.1.6
browserify@13.1.3
browserify-pack@0.5.0
canonicalize@0.1.1
center-align@0.1.3
chalk@2.4.2
chokidar@2.1.8
colors@1.4.0
concat-map@0.0.1
concat-stream@1.6.2
console-control-strings@1.1.0
console-log-level@1.1.0
core-util-is@1.0.2
cross-spawn@5.1.0
debug@2.6.9
deep-equal@1.0.1
deepmerge@1.2.4
depd@1.1.2
destroy@1.0.4
dot-prop@4.2.1
ejs@2.6.2
escape-string-regexp@1.0.5
express@4.16.3
express-bearer-token@5.1.0
express-bodyparser@5.0.1
express-debug@1.6.0
express-formidable@1.2.0
express-hbs@3.1.0
express-jwt@7.5.1
express-mongoose@6.0.0
express-promise-router@4.7.0
express-session-filestore@1.0.0
express-validator@4.0.0
fast-json-parser@1.0.9
fast-uuid@3.2.1
fastify@2.13.2
fastify-ajv@2.0.0
fastify-bodyparser@4.0.0
fastify-cookie@1.0.0
fastify-cors@3.0.1
fastify-error-handler@1.0.1
fastify-formbody@3.0.0
fastify-jwt@1.0.0
fastify-multipart@3.0.0
fastify-swagger@3.0.0
fastify-websocket@3.0.0
fastify-validator@3.0.0
fastify@1.13.0
fastify@2.3.0
fastify@3.0.0
fastify@4.0.0
fastify@5.0.0
fastify@6.0.0
fastify@7.0.0
fastify@8.0.0
fastify@9.0.0
fastify@10.0.0
fastify@11.0.0
fastify@12.0.0
fastify@13.0.0
fastify@14.0.0
fastify@15.0.0
fastify@16.0.0
fastify@17.0.0
fastify@18.0.0
fastify@19.0.0
fastify@20.0.0
fastify@21.0.0
fastify@22.0.0
fastify@23.0.0
fastify@24.0.0
fastify@25.0.0
fastify@26.0.0
fastify@27.0.0
fastify@28.0.0
fastify@29.0.0
fastify@30.0.0
fastify@31.0.0
fastify@32.0.0
fastify@33.0.0
fastify@34.0.0
fastify@35.0.0
fastify@36.0.0
fastify@37.0.0
fastify@38.0.0
fastify@39.0.0
fastify@40.0.0
fastify@41.0.0
fastify@42.0.0
fastify@43.0.0
fastify@44.0.0
fastify@45.0.0
fastify@46.0.0
fastify@47.0.0
fastify@48.0.0
fastify@49.0.0
fastify@50.0.0
fastify@51.0.0
fastify@52.0.0
fastify@53.0.0
fastify@54.0.0
fastify@55.0.0
fastify@56.0.0
fastify@57.0.0
fastify@58.0.0
fastify@59.0.0
fastify@60.0.0
fastify@61.0.0
fastify@62.0.0
fastify@63.0.0
fastify@64.0.0
fastify@65.0.0
fastify@66.0.0
fastify@67.0.0
fastify@68.0.0
fastify@69.0.0
fastify@70.0.0
fastify@71.0.0
fastify@72.0.0
fastify@73.0.0
fastify@74.0.0
fastify@75.0.0
fastify@76.0.0
fastify@77.0.0
fastify@78.0.0
fastify@79.0.0
fastify@80.0.0
fastify@81.0.0
fastify@82.0.0
fastify@83.0.0
fastify@84.0.0
fastify@85.0.0
fastify@86.0.0
fastify@87.0.0
fastify@88.0.0
fastify@89.0.0
fastify@90.0.0
fastify@91.0.0
fastify@92.0.0
fastify@93.0.0
fastify@94.0.0
fastify@95.0.0
fastify@96.0.0
fastify@97.0.0
fastify@98.0.0
fastify@99.0.0
fastify@100.0.0
fastify@101.0.0
fastify@102.0.0
fastify@103.0.0
fastify@104.0.0
fastify@105.0.0
fastify@106.0.0
fastify@107.0.0
fastify@108.0.0
fastify@109.0.0
fastify@110.0.0
fastify@111.0.0
fastify@112.0.0
fastify@113.0.0
fastify@114.0.0
fastify@115.0.0
fastify@116.0.0
fastify@117.0.0
fastify@118.0.0
fastify@119.0.0
fastify@120.0.0
fastify@121.0.0
fastify@122.0.0
fastify@123.0.0
fastify@124.0.0
fastify@125.0.0
fastify@126.0.0
fastify@127.0.0.1
fastify@127.0.0.2
fastify@127.0.0.3
fastify@127.0.0.4
fastify@127.0.0.5
fastify@127.0.0.6
fastify@127.0.0.7
fastify@127.0.0.8
fastify@127.0.0.9
fastify@127.0.0.10
fastify@127.0.0.11
fastify@127.0.0.12
fastify@127.0.0.13
fastify@127.0.0.14
fastify@127.0.0.15
fastify@127.0.0.16
fastify@127.0.0.17
fastify@127.0.0.18
fastify@127.0.0.19
fastify@127.0.0.20
fastify@127.0.0.21
fastify@127.0.0.22
fastify@127.0.0.23
fastify@127.0.0.24
fastify@127.0.0.25
fastify@127.0.0.26
fastify@127.0.0.27
fastify@127.0.0.28
fastify@127.0.0.29
fastify@127.0.0.30
fastify@127.0.0.31
fastify@127.0.0.32
fastify@127.0.0.33
fastify@127.0.0.34
fastify@127.0.0.35
fastify@127.0.0.36
fastify@127.0.0.37
fastify@127.0.0.38
fastify@127.0.0.39
fastify@127.0.0.40
fastify@127.0.0.41
fastify@127.0.0.42
fastify@127.0.0.43
fastify@127.0.0.44
fastify@127.0.0.45
fastify@127.0.0.46
fastify@127
猜你喜欢:全景性能监控