Packages and modules包和模块
Introduction to packages and modules软件包和模块简介Contributing packages to the registry向注册表贡献程序包Creating a package.json file创建一个package.json文件Creating Node.js modules创建Node.js模块About package README files关于包自述文件Creating and publishing unscoped public packages创建和发布未分级的公共包Creating and publishing scoped public packages创建和发布作用域的公共包Creating and publishing private packages创建和发布专用程序包Package name guidelines程序包名称准则Specifying dependencies and devDependencies in a package.json file在package.json文件中指定依赖项和devDependenciesAbout semantic versioning关于语义版本控制Adding dist-tags to packages向包中添加dist标记
Updating and managing your published packages更新和管理已发布的程序包Changing package visibility更改程序包可见性Adding collaborators to private packages owned by a user account将合作者添加到用户帐户拥有的私有包Updating your published package version number更新已发布的软件包版本号Deprecating and undeprecating packages or package versions弃用和取消弃用程序包或程序包版本Transferring a package from a user account to another user account将包从用户帐户转移到另一个用户帐户Unpublishing packages from the registry从注册表中取消发布程序包
Getting packages from the registry从注册表获取程序包Searching for and choosing packages to download搜索并选择要下载的程序包Downloading and installing packages locally本地下载和安装软件包Downloading and installing packages globally在全球范围内下载和安装软件包Resolving EACCES permissions errors when installing packages globally解决全局安装程序包时的EACCES权限错误Updating packages downloaded from the registry更新从注册表下载的程序包Using npm packages in your projects在项目中使用npm包Using deprecated packages使用不推荐使用的包Uninstalling packages and dependencies卸载程序包和依赖项
Securing your code保护您的代码About audit reports关于审计报告Auditing package dependencies for security vulnerabilities审核安全漏洞的包依赖项About ECDSA registry signatures关于ECDSA注册表签名Verifying ECDSA registry signatures验证ECDSA注册表签名About PGP registry signatures (deprecated)关于PGP注册表签名(已弃用)Verifying PGP registry signatures (deprecated)验证PGP注册表签名(已弃用)Requiring 2FA for package publishing and settings modification包发布和设置修改需要2FAReporting malware in an npm package报告npm包中的恶意软件