自定义模块发布注册 npm 账号将源切换至 npm(使用 nrm 淘宝镜像的需要切换) $ nrm use npm完成项目初始化 $ npm init创建入口文件开发登录 npm 账号 $ npm adduser发布 $ npm publish3 dependents2 versions@everything-registry/sub-chunk-1818@infinitebrahmanuniverse/nolb-h5@zalastax/nolb-h51.0.13 years ago1.0.03 years ago