隐私问答
See Details
目录
本声明描述了 npm 公司(简称 npm)如何收集和使用你的数据。
¥This notice describes how npm, Inc., or npm for short, collects and uses data about you.
什么是最重要的?
¥What's most important?
这取决于你的个人情况,因此你应该继续阅读并自行决定。但至少,每个 npm 用户都应该理解:
¥That depends on your personal situation, which is why you should read on and decide for yourself. But at a minimum, absolutely every npm user should understand:
npm 公共注册中心旨在让每个人都能在线使用软件。
¥The npm public registry is for making software available to everyone online.
但:软件源于人,也体现了我们自身的 价值。
¥But: Software comes from people, and says something about us.
因此:请仔细考虑要发布哪些软件包、在这些软件包中放入哪些数据以及其他人可能如何处理这些数据。
¥So: Think carefully about what packages to publish, what data you put in those packages, and what others might do with that data.
当你创建账户时,某些联系信息会公开显示在 npm 平台中。当你上传软件包时,你的名称和联系信息可能会与该软件包相关联。
¥When you create an account, certain contact information is displayed publicly in the npm platform. And when you upload a package, your name and contact information may become associated with that package.
如果你遇到问题,提交支持工单。
¥If you find yourself in a jam, open a support ticket.
npm 如何收集我的数据?
¥How does npm collect data about me?
npm 收集你的数据:
¥npm collects data about you:
-
使用 npm 命令、npx 命令 或其他程序访问 npm 公共注册表、npm 托管的企业注册中心、私有包 时(例如发布软件包时),以及用于账户和权限管理等功能的 API 时
¥when you use the npm command, the npx command or another program to access the npm public registry, Enterprise registries that npm hosts, private packages, such as when you're publishing a software package, and APIs for functionality like account and permissions management
-
浏览 npm 网站时,npmjs.com
¥when you browse the npm website, npmjs.com
-
使用 npm 命令或网站创建 npm 账户、更新账户以及注册 npm 服务时
¥when you use either the npm command or the website to create an npm account, update your account, and sign up for npm services
-
向 npm 发送支持、隐私、法律和其他请求时
¥when you send support, privacy, legal, and other requests to npm
-
与现有和潜在客户合作并进行调研时
¥when working with and researching current and potential customers
在研究潜在客户时,npm 员工有时会搜索公共万维网或付费商业数据库。 否则,npm 不会从数据经纪人或其他私有服务购买或接收有关你的数据。
¥When researching potential customers, npm staff sometimes search the public World Wide Web or paid business databases. Otherwise, npm doesn't buy or receive data about you from data brokers or other private services.
如果你或其他人上传的软件包中包含你的数据,npm 可能会无意中收集你的数据。
¥npm may inadvertently collect data about you if it is included in software packages that you or others upload.
npm 收集我的哪些数据?为什么收集?
¥What data does npm collect about me, and why?
npm 收集你如何使用 npm 软件和注册表的数据
¥npm collects data about how you use npm software and registries
当你使用 npm 命令、npx 命令或其他软件与 npm 公共注册表、npm 托管的企业注册表或私有软件包配合使用时,npm 会记录可能识别你身份的数据:
¥When you use the npm command, the npx command, or other software to work with the npm public registry, an Enterprise registry that npm hosts, or private packages, npm logs data that might be identified to you:
-
每次运行类似
npm install的命令时,都会生成一个名为npm-session的随机唯一标识符¥a random, unique identifier, called
npm-session, for each time you run commands likenpm install -
来自 npm 公共仓库 但不包括其他依赖,例如 Git 依赖 的项目依赖的名称和版本、它们的依赖等等
¥the names and versions of your project's dependencies, their dependencies, and so on, that come from the npm public registry, but not of other dependencies, like Git dependencies
-
你使用的 Node.js、npm 命令和操作系统的版本
¥the versions of Node.js, the npm command, and the operating system you are using
-
npm-in-ci标头,显示命令是否在持续集成服务器上运行¥an
npm-in-ciheader, showing whether the command was run on a continuous integration server -
你运行
npm install的软件包的范围(作为npm-scope标头)¥the scope of the package for which you ran
npm install, as annpm-scopeheader -
referrer标头显示你运行的命令,其中所有文件或目录路径均已删除¥a
referrerheader that shows the command you ran, with any file or directory paths redacted -
有关你用于访问注册表的软件的数据,例如
User-Agent字符串¥data about the software you're using to access the registry, such as the
User-Agentstring -
网络请求数据,例如日期和时间、你的 IP 地址和 URL
¥network request data, such as the date and time, your IP address, and the URL
npm 使用这些数据来:
¥npm uses this data to:
-
满足你的要求,例如寄送你要求的包。
¥fulfill your requests, such as by sending the packages you ask for
-
当你运行
npm install或npm audit时,向你发送可能影响你正在构建的软件的安全漏洞警报¥send you alerts about security vulnerabilities that may affect the software you're building, when you run
npm installornpm audit -
保持注册表快速可靠地运行
¥keep registries working quickly and reliably
-
调试和开发
npm命令及其他软件¥debug and develop the
npmcommand and other software -
保护注册中心免受滥用和技术攻击
¥defend registries from abuse and technical attacks
-
编译关于包使用情况和流行度的统计数据
¥compile statistics on package usage and popularity
-
准备开发者社区趋势报告
¥prepare reports on trends in the developer community
-
改进网站的搜索结果。
¥improve search results on the website
-
推荐可能与你的工作相关的软件包
¥recommend packages that may be relevant to your work
npm 收集你如何使用网站的数据
¥npm collects data about how you use the website
当你访问 www.npmjs.com、docs.npmjs.com 和其他 npm 网站时,npm 会使用 Cookie、服务器日志和其他方法来收集有关你访问的页面和时间的数据。npm 还会收集有关你使用的软件和计算机的技术信息,例如:
¥When you visit www.npmjs.com, docs.npmjs.com, and other npm websites, npm uses cookies, server logs, and other methods to collect data about what pages you visit, and when. npm also collects technical information about the software and computer you use, such as:
-
你的 IP 地址
¥your IP address
-
你的首选语言
¥your preferred language
-
你使用的 Web 浏览器软件
¥the web browser software you use
-
你使用的计算机类型
¥the kind of computer you use
-
推荐你的网站
¥the website that referred you
npm 使用有关你如何使用网站的数据来:
¥npm uses data about how you use the website to:
-
优化网站,使其快速易用
¥optimize the website, so that it's quick and easy to use
-
诊断和调试技术错误
¥diagnose and debug technical errors
-
保护网站免受滥用和技术攻击
¥defend the website from abuse and technical attacks
-
编译关于包流行度的统计数据
¥compile statistics on package popularity
-
编译关于访问者使用的软件和计算机类型的统计数据
¥compile statistics on the kinds of software and computers visitors use
-
编译关于访问者搜索和需求的统计数据,以指导新网站页面的开发和功能
¥compile statistics on visitor searches and needs, to guide development of new website pages and functionality
-
决定就产品公告、服务变更和新功能联系谁
¥decide who to contact about about product announcements, service changes, and new features
npm 收集账户数据
¥npm collects account data
npm 服务的许多功能都需要 npm 账户。例如,你必须拥有 npm 账户才能将软件包发布到 npm 公共注册表。
¥Many features of npm services require an npm account. For example, you must have an npm account to publish packages to the npm public registry.
要创建 npm 账户,npm 需要一个有效的电子邮件地址和一个可用的用户名。npm 使用这些数据为你提供功能访问权限,并在 npm 服务中公开和在 npm 内部识别你的身份。
¥To create an npm account, npm requires a working email address and an available user name. npm uses this data to provide you access to features and identify you across npm services, publicly and within npm.
你无需提供你的个人名称或法定名称即可创建 npm 账户。你可以使用假名。你也可以开设多个账户。
¥You do not have to give your personal or legal name to create an npm account. You can use a pseudonym instead. You can also open more than one account.
如果你注册账户,npm 将在用户页面 像这样 上发布账户数据,供全世界查看。npm 还会通过 npm 公共注册表发布账户数据,该注册表可供所有人查看,以及 npm 托管的企业注册表,其他人可以使用 npm owner ls tap 等命令查找。
¥If you sign up for an account, then npm will publish account data for the whole world to see on user pages like this one. npm also publishes account data through the npm public registry, which is available for everyone to see, and Enterprise registries that npm hosts for others to find with commands like npm owner ls tap.
如果你通过网站在社交媒体(例如 GitHub 和 Twitter)上向 npm 提供个人名称,例如将其添加到你的个人资料或用户页面中,npm 会将该数据以及账户的电子邮件地址和用户名发布。你无需向 npm 提供个人名称或任何社交媒体名称,并且你可以随时通过更新你的用户页面来删除这些数据。
¥If you give npm a personal name or names on social media like GitHub and Twitter through the website, like when you include this on your profile or user page, npm publishes that data along with the email address and user name for the account. You don't have to give npm a personal name or any social media names, and you can remove this data at any time by updating your user page.
npm 使用你的电子邮件来:
¥npm uses your email to:
-
使用你的账户发布的软件包时通知你
¥notify you about packages published using your account
-
重置你的密码并帮助维护你的账户安全
¥reset your password and help keep your account secure
-
为你发布的包添加元数据
¥add metadata to packages that you publish
-
在与你的账户或软件包相关的特殊情况下与你联系
¥contact you in special circumstances related to your account or packages
-
就支持请求与你联系
¥contact you about support requests
-
就法律请求与你联系,例如 DMCA 删除请求和隐私投诉
¥contact you about legal requests, like DMCA takedown requests and privacy complaints
-
宣布新的 npm 产品、服务变更和功能
¥announce new npm product offerings, service changes, and features
-
向你发送有关如何更好地使用免费和付费服务的提示
¥send you tips about how to better use free and paid services
-
向你发送你可能需要的付费服务的消息
¥send you messages about paid services you might want
npm 收集软件包数据
¥npm collects package data
当你使用 npm publish 或其他软件将软件包发布到 npm 公共注册表、npm 托管的企业注册表或作为私有软件包发布时,npm 会收集软件包的内容以及 metadata,包括你的账户数据。其他 npm 用户也可能发布包含你的数据的软件包,例如你为软件包贡献了代码的事实。
¥When you use npm publish or other software to publish packages to the npm public registry, an Enterprise registry that npm hosts, or as a private package, npm collects the contents of the package, plus metadata, including your account data. Other npm users may also publish packages that include data about you, such as the fact that you contributed code to a package.
npm 使用软件包中的数据将这些软件包提供给你和其他请求者:
¥npm uses data in packages to provide those packages to you and others who request them:
-
当你将软件包发布到 npm 公共注册表或将软件包从私有更改为公共时,npm 会将软件包和元数据在线提供给所有人。
¥When you publish a package to the npm public registry, or change a package from private to public, npm makes the package and metadata available to everyone, online.
-
当你将软件包发布到 npm 托管的企业注册表或作为私有软件包发布时,npm 会根据注册表或私有软件包账户的配置方式,将所有这些 数据提供给其他用户。你可以配置谁可以访问软件包,或者这可能由其他人决定,例如你公司的企业注册表管理员。
¥When you publish a package to an Enterprise registry that npm hosts, or as a private package, npm makes all of that data available to other users according to how the registry or the private packages account is configured. You may be able to configure who can access the package, or that may be up to others, such as the administrator of your company's Enterprise registry.
将软件包数据提供给其他人,允许他们下载、构建和依赖你的工作。
¥Making package data available to others allows them to download, build on, and depend on your work.
npm 收集支付卡数据
¥npm collects payment card data
要注册付费服务,npm 需要你的支付卡数据。npm 本身不会收集或存储足够的信息来向你的银行卡扣款。相反,Stripe 代表 npm 收集这些数据,并向 npm 提供安全令牌,允许 npm 创建费用和订阅。
¥To sign up for paid services, npm requires your payment card data. npm itself does not collect or store enough information to charge your card itself. Rather, Stripe collects that data on npm's behalf, and gives npm security tokens that allow npm to create charges and subscriptions.
npm 仅使用你的支付卡数据来收取 npm 服务费用。
¥npm uses your payment card data only to charge for npm services.
npm 指示 Stripe 仅在你使用付费 npm 服务期间存储你的支付卡数据。
¥npm instructs Stripe to store your payment card data only as long as you use paid npm services.