From 79d605226cae8c3aad421613137ce737b39ced98 Mon Sep 17 00:00:00 2001 From: ashborn <121210083+Bucke200@users.noreply.github.com> Date: Fri, 18 Oct 2024 19:13:05 +0530 Subject: [PATCH 1/2] Create npm-view.md --- pages/common/npm-view.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 pages/common/npm-view.md diff --git a/pages/common/npm-view.md b/pages/common/npm-view.md new file mode 100644 index 00000000000000..ff0ecdac929a0c --- /dev/null +++ b/pages/common/npm-view.md @@ -0,0 +1,32 @@ +# npm view + +> View registry information about a package. +> More information: . + +- View information about the latest version of a package: + +`npm view {{package}}` + +- View information about a specific version of a package: + +`npm view {{package}}@{{version}}` + +- View all available versions of a package: + +`npm view {{package}} versions` + +- View the description of a package: + +`npm view {{package}} description` + +- View the dependencies of the latest version of a package: + +`npm view {{package}} dependencies` + +- View the repository URL of a package: + +`npm view {{package}} repository` + +- View the maintainers of a package: + +`npm view {{package_name}} maintainers` From d159735825a00eb43d7ce446278338622f2d15eb Mon Sep 17 00:00:00 2001 From: ashborn <121210083+Bucke200@users.noreply.github.com> Date: Fri, 18 Oct 2024 19:16:13 +0530 Subject: [PATCH 2/2] Update npm-view.md --- pages/common/npm-view.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/npm-view.md b/pages/common/npm-view.md index ff0ecdac929a0c..fb9218ad192a81 100644 --- a/pages/common/npm-view.md +++ b/pages/common/npm-view.md @@ -29,4 +29,4 @@ - View the maintainers of a package: -`npm view {{package_name}} maintainers` +`npm view {{package}} maintainers`