npmjs.com 提供了许多对日常开发非常有用的功能:
  包管理:你可以使用 npm 来安装、升级、卸载包。这些包可以是全局安装的,也可以是本地安装的。
  依赖控制:npm 可以帮助你管理项目的依赖,使得代码部署变得更加容易。
  发布和维护包:如果你是一个开发者,npm 也提供了命令行工具,让你可以方便地发布和维护你的包。
  搜索包:你可以使用 npm search <搜索词> 命令或者在 npmjs.com 的搜索框中搜索你需要的包。
  查看包信息:你可以使用 npm info <package-name> 命令来查看某个包的详细信息。
  初始化 package.json 文件:你可以使用 npm init 命令来初始化生成 package.json 文件。
  设置环境变量:你可以使用 npm set 命令来设置环境变量。
  查看已安装的模块:你可以使用 npm list 命令来查看当前项目安装的所有模块,以及它们依赖的模块。

用法:

# npm search nrm
NAME                      | DESCRIPTION          | AUTHOR          | DATE       | VERSION  | KEYWORDS    
nrm                       | NPM registry…        | =pana =langshu  | 2023-06-19 | 1.2.6    | NPM registry
xy-nrm                    | xy mpm registry tool | =xueyan         | 2023-09-12 | 1.0.1    | xy, tool, nrm
nrm-sunny1011111          | 官方原版不显示*,不…  | =qingjiu        | 2022-12-16 | 1.2.7    | NPM registry
x-nrm                     | npm registry tool    | =wangrenjie     | 2023-02-07 | 1.0.3    | 
h-nrm                     | a npm registry tool  | =hzlzh_zou      | 2023-06-02 | 1.0.2    | nrm
@taoya7/nrm               | NPM registry…        | =taoya785       | 2023-11-01 | 1.2.6    | NPM registry
@fyzhu/nrm                | npm registry…        | =fyzhu          | 2023-06-13 | 1.2.6    | NPM registry
mto-nrm                   | A library for easy…  | =matrix-the-one | 2023-11-13 | 0.8.0    | npm registry mto-nrm
@ci0n/nrm                 | NPM registry…        | =ci0n           | 2023-04-19 | 1.2.6    | NPM registry
sxl-nrm                   | change npm regsitry  | =sxl5253999     | 2023-06-20 | 1.0.3    | resistry npm
nrm-lvj                   | NPM registry…        | =lvjiaxuan      | 2023-03-24 | 1.2.6    | NPM registry
@yakies/nrm               | NPM registry…        | =chumahtung     | 2023-04-24 | 0.1.0    | NPM registry
@lzwme/nrm                | NPM registry…        | =renxia001…     | 2023-07-19 | 1.3.1    | NPM registry
@hg-ui/nrm                | NPM registry…        | =wenhao.huang   | 2023-04-26 | 0.0.1    | NPM registry
@starry_smile/nrm         | NPM registry…        | =starry_smile   | 2022-08-15 | 1.2.5    | NPM registry
@cliz/nrm                 | NPM Registry Manager | =uniquecolesmi… | 2023-09-06 | 1.0.7    | cliz registry npm nrm
@ultra_bojack/nrm         | NPM registry…        | =ultrabojackv5… | 2022-01-06 | 1.2.5    | NPM registry
@fescotech/nrm            | NPM registry…        | =fescofe        | 2022-01-10 | 1.2.5    | NPM registry
@sppk/nrm                 | NPM registry…        | =wangkaiwd      | 2022-08-21 | 1.2.6    | NPM registry
@oliver_lou/nrm           | NPM registry…        | =oliver_lou     | 2023-07-07 | 1.2.8    | NPM registry

# npm info nrm

nrm@1.2.6 | MIT | deps: 5 | versions: 28
NPM registry manager can help you easy and fast switch between different npm registries, now include: cnpm, taobao, nj(nodejitsu), edunpm
https://github.com/Pana/nrm

keywords: NPM, registry

bin: nrm

dist
.tarball: https://registry.npmjs.org/nrm/-/nrm-1.2.6.tgz
.shasum: c3f3a0ec2b14924b17f19dedf0795e48add74881
.integrity: sha512-p59wSVciFLTCB0754fNV/IHN6cvuvT4VNTxkSp+DZhhPUQ3QCR4WECd+6X1uTOKDajouX1Z/8FSuvozApH/bAQ==
.unpackedSize: 30.7 kB

dependencies:
chalk: ^4.1.2     commander: ^8.3.0 ini: ^2.0.0       node-fetch: 2.6.6 open: ^8.4.2      

maintainers:
- pana <pana.wang@outlook.com>
- langshu <shiren1118@126.com>

dist-tags:
latest: 1.2.6  

published 6 months ago by langshu <shiren1118@126.com>

参考:https://www.npmjs.com/

posted on 2023-12-20 09:16  a120608yby  阅读(283)  评论(0编辑  收藏  举报