这些 npm 开源使用条款(本“条款”)规范对 https://www.npmjs.com(“网站”)及 https://registry.npmjs.org 上的“npm 公共注册表”(“公共注册表”)的访问和使用。npm, Inc.(“npm”)运营上述每项服务。本条款将它们统称为“npm 开源”。
npm 最后一次更新这些 npm 开源条款是在 2022 年 3 月 10 日。你可以在 https://github.com/npm/documentation/blob/main/content/policies/open-source-terms.mdx 查看之前的版本。
🌐 npm last updated these npm Open Source Terms on March 10, 2022. You can review prior versions at https://github.com/npm/documentation/blob/main/content/policies/open-source-terms.mdx.
🌐 Important Terms
这些条款包括若干重要条款,会影响你的权利和责任,例如“免责声明”中的免责声明、“责任限制”中对 npm 对你的责任的限制,以及在“仲裁”中就争议进行单独仲裁的约定。
🌐 Other Terms
npm 提供额外的付费服务(付费服务),这些服务需遵守额外的条款:
🌐 npm offers additional, paid services (Paid Services) that are subject to additional terms:
在本条款中,npm 开源以及你可能同意使用的任何付费服务统称为 npm 服务。
🌐 npm Open Source and any Paid Services you may agree to use are together called npm Services throughout these Terms.
🌐 Legal Agreement
你只能通过同意这些条款来访问或使用 npm 服务。如果 npm 为 npm 服务添加任何额外功能,你也必须同意这些条款才能使用该新功能。你通过创建用户账户(你的 账户)或在未创建账户的情况下访问或使用 npm 服务,即表示你同意 npm 的这些条款。你与 npm 之间的协议具有法律约束力(本 协议)。
🌐 You may only access or use npm Services by agreeing to these Terms. If npm adds any additional functionality to npm Services, you must agree to these Terms to use that new functionality, too. You show your agreement with npm on these Terms by creating a user account (your Account) or by accessing or using npm Services without creating an account. The agreement between you and npm is a legally binding contract (this Agreement).
🌐 Changes
npm 可能会在未来更改这些条款以及付费服务的附加条款。npm 会在网站上发布带有新“最后更新”日期的更改。如果你有账户,npm 将通过发送电子邮件到你账户提供的地址、在网站上发布消息或两者结合的方式通知你有关更改。如果你没有账户,npm 可能会通过网站上的一般公告通知你更改,但你有责任自行检查这些条款的更改。在收到这些条款更改的通知后,你必须接受这些更改才能继续使用 npm 服务。你通过继续使用 npm 服务即表示接受这些条款的更改。npm 可能会在任何时候更改、暂停或终止 npm 服务,而无需通知你或对你承担责任。
🌐 npm may change these Terms and the additional terms for Paid Services in the future. npm will post changes on the Website with a new "last updated" date. If you have an Account, npm will notify you of changes by email to the address provided for your Account, by a message on the Website, or both. If you do not have an account, npm may notify you of changes by a general announcement via the Website, but it is up to you to check for changes to these Terms. After receiving notice of changes to these Terms, you must accept those changes to continue using npm Services. You accept changes to these Terms by continuing to use npm Services. npm may change, suspend, or discontinue npm Services at any time without notice or liability to you.
🌐 npm Policies
npm 尊重你的隐私,并限制对通过 npm 服务收集的关于你的信息的使用和分享。https://npm.nodejs.cn/policies/privacy 上的隐私政策(Privacy Policy)描述了这些政策。npm 将遵守隐私政策,并尊重你通过 npm 服务选择的隐私设置。
🌐 npm respects your privacy and limits use and sharing of information about you collected by npm Services. The privacy policy at https://npm.nodejs.cn/policies/privacy(the Privacy Policy) describes these policies. npm will abide by the Privacy Policy and honor the privacy settings that you choose via npm Services.
npm 尊重版权持有人的专有权利,并根据 https://npm.nodejs.cn/dmca 的版权政策(版权政策)通过 npm 服务对关于涉嫌侵权的通知作出回应。
🌐 npm respects the exclusive rights of copyright holders and responds to notifications about alleged infringement via npm Services per the copyright policy at https://npm.nodejs.cn/dmca (the Copyright Policy).
npm 根据 https://npm.nodejs.cn/disputes(争议政策)中的政策,解决公共注册表中关于包名、用户名和组织名称的争议。这包括“包名占用”。
🌐 npm resolves disputes about package names, user names, and organization names in the Public Registry per the policy at https://npm.nodejs.cn/disputes (Dispute Policy). This includes "package squatting".
所有 npm 服务的使用受 https://npm.nodejs.cn/conduct 的行为准则(Code of Conduct)约束。
🌐 Use of all npm Services is governed by the code of conduct at https://npm.nodejs.cn/conduct (Code of Conduct).
npm 允许根据 https://npm.nodejs.cn/trademark 的政策使用 npm 商标。
🌐 npm permits use of npm trademarks per the policy at https://npm.nodejs.cn/trademark.
🌐 Use of npm Open Source
在遵守这些条款的前提下,npm 允许你使用 npm 开源软件。该许可并非专属于你,你也不能将其转让给他人。
🌐 Subject to these Terms, npm grants you permission to use npm Open Source. That permission is not exclusive to you, and you cannot transfer it to anyone else.
你使用 npm 开源的许可使你有权执行以下操作:
🌐 Your permission to use npm Open Source entitles you to do the following:
🌐 Conditions
你使用 npm 开源的许可以及你可能拥有的任何使用付费服务的许可均受以下条件约束:
🌐 Your permission to use npm Open Source, as well as any permission you may have to use Paid Services, are subject to the following conditions:
🌐 Acceptable Use
你不得将任何违反 npm《可接受内容》规定的材料以包或其他任何形式提交到 npm,具体规定如下。
你不得披露你无权披露的信息,例如他人的密钥信息。
未经他人明确许可,你不得复制或分享任何他人的个人身份信息。
你不得违反任何适用法律。
未经他人明确许可,你不得使用或试图使用他人的账户。
你不得购买、出售或以其他方式交易用户名、组织名、Packages 名称或 npm 服务 上保留的任何其他名称以获取金钱或其他报酬。
你不得使用_npm 服务_的发送电子邮件功能来发送广告、连锁信或其他招揽信息。
你不得自动化访问、使用或监控本网站,例如使用网络爬虫、浏览器插件或附加组件,或其他非网页浏览器的计算机程序。你可以根据本协议使用公共 API 从公共注册处复制数据。
你不得使用 npm 服务向分发列表、新闻组或群组邮件别名发送电子邮件。
你不得虚假暗示自己与 npm 有关联或得到其认可。
你不得通过 npm 服务从事非法计划,如金字塔计划。
你不得对由 npm 服务提供的图片或其他非超文本内容进行深度超链接。
你不得从通过 npm 服务获得的任何材料中移除任何指示专有所有权的标记。
你不得通过 HTML IFRAME 显示网站的任何部分。
你不得禁用、规避或绕过 npm 服务的任何安全或访问限制,也不得访问不允许你访问的 npm 服务部分。
你不得通过不合理数量的请求或旨在对 npm 服务的底层 IT 系统施加不合理负荷的请求来给 npm 服务的基础设施施加压力。此规则故意保持宽松,以便 npm 拥有必要的灵活性,确保 npm 服务能够为整个用户社区正常运行。但为了划清一条明确的界限,任何个人、组织或关联公司集团在单个月内向 npm 服务发送五百万次请求,在任何情况下都是不合理的。如果你有特殊需求需要发送大量请求,我们的销售团队 可以提供帮助。
你不得鼓励或协助任何其他人违反“可接受使用”条款。
🌐 Acceptable Content
npm 的管理员保留删除他们认为不可接受的 npm 服务上托管内容的权利。不可接受的内容可以是软件包、README 文件、用户或组织名称,或提交到 npm 服务的任何其他内容。一些不可接受内容的例子包括:
🌐 Administrators at npm reserve the right to delete content hosted on the npm Services that they deem unacceptable. Unacceptable content can take the form of a package, a README file, a user or organization name, or any other content submitted to npm Services. A few examples of unacceptable content:
要了解如何举报可接受内容的违规行为,请参阅 行为准则。
🌐 To find out how to report violations of Acceptable Content, refer to the Code of Conduct.
🌐 Commercial Content
npm 公共注册表是关于软件包的。各种有用的软件包都欢迎,无论是业余项目、竞争性产品、企业基础设施和工具,还是最新的有趣创意或软件艺术作品。
🌐 The npm Public Registry is about Packages. All manner of useful Packages are welcome, from hobby projects to competitive products, enterprise infrastructure and tooling to the latest fun hack or work of software art.
与此同时,npm 公共注册表、网站以及像 README 这样的重要约定不仅仅是代码。开发者使用所有这些渠道更广泛地交流关于代码的信息,包括是谁在开发、为什么开发以及如何开发。
🌐 At the same time, the npm Public Registry, the Website, and important conventions like README go beyond just code. Developers use all of those channels to communicate more broadly about code, who is developing it, why, and how.
这种沟通是重要的,也受到欢迎,只要它尊重 npm 公共注册表、网站以及 npm 开源总体上保持中立。你可以自由使用 npm 开源进行商业项目、推动职业发展以及其他商业用途。但你不得利用内容或系统约定,使 npm 公共注册表、网站或 CLI 将商业利益置于代码之前。
🌐 That communication is important, and welcome, so long as it respects that the npm Public Registry, the website, and npm Open Source more generally remain neutral. You are free to use npm Open Source for commercial projects, to advance your career, and for other business purposes. But you may not leverage content or system conventions to make the npm Public Registry, Website, or CLI put business before code.
这些类型的商业内容通常可以在 README 文件和其他文档中使用:
🌐 These kinds of commercial content are generally acceptable in README files and other documentation:
这些类型的商业内容通常_不_被接受:
🌐 These kinds of commercial content generally aren't acceptable:
README、package.json 或其他显示广告的内容。这些例子仅仅是例子。npm 在决定哪些内容是可接受的时,将继续运用其自身的判断。npm 也会继续期望你在选择要分享的内容以及分享方式时,运用你自己的判断。
🌐 These examples are just examples. npm will continue to apply its judgment when deciding what content is acceptable. npm will continue to expect you to apply your own judgment when choosing what you share and how.
🌐 Enforcement of Acceptable Use
npm 可在法律允许的最大范围内调查和起诉违反本协议的行为。npm 可通知执法部门并合作起诉违反本协议的行为。
🌐 npm may investigate and prosecute violations of this Agreement to the fullest legal extent. npm may notify and cooperate with law enforcement authorities in prosecuting violations of this Agreement.
🌐 Your Account
你必须创建并登录账户才能访问某些 npm 服务(包括 npm 开源服务)的功能。
🌐 You must create and log into an Account to access features of some npm Services, including npm Open Source.
要创建账户,你必须提供有关你自身的某些信息,这些信息是网站或命令行接口账户创建表单所要求的。如果你创建账户,至少需要提供一个有效的电子邮件地址。你将保持该电子邮件地址的最新状态。你不得冒充任何其他个人。你可以随时通过联系支持删除你的账户。
🌐 To create an Account, you must provide certain information about yourself, as required by the account creation form on the Website or the CLI. If you create an Account, you will provide, at a minimum, a valid email address. You will keep that email address up-to-date. You will not impersonate any other individual. You may delete your Account at any time by contacting support.
你将对使用你的账户进行的所有操作负责,无论这些操作是否经过你的授权,直到你关闭账户或通知 npm 你的账户安全已受到威胁为止。如果你怀疑账户安全已受到威胁,你应立即通知 npm。你将为你的账户选择一个安全的密码,并保持密码的保密性。
🌐 You will be responsible for all action taken using your account, whether authorized by you or not, until you either close your account or give npm notice that the security of your Account has been compromised. You will notify npm immediately if you suspect the security of your Account has been compromised. You will select a secure password for your Account. You will keep your password secret.
如果 npm 合理地认为你违反了这些条款,或者 npm 合理地认为你滥用了 npm 服务,npm 可根据版权政策限制、暂停或终止你的账户。
🌐 npm may restrict, suspend, or terminate your Account according to the Copyright Policy, if npm reasonably believes that you are in breach of these Terms, or if npm reasonably believes that you have misused npm Services.
🌐 Your Content
本协议中的任何内容均不授予 npm 对你通过 npm 服务分享的知识产权(例如你的账户信息或你通过 npm 服务分享的任何软件包(你的内容))的所有权。 本协议中的任何内容也不授予你对通过 npm 服务提供的 npm 知识产权(如软件、文档、商标、服务标记、标识或其他识别性图形)的任何所有权。
🌐 Nothing in this Agreement gives npm any ownership rights in intellectual property that you share with npm Services, such as your Account information or any Packages you share with npm Services (Your Content). Nothing in this Agreement gives you any ownership rights in npm intellectual property provided via npm Services, like software, documentation, trademarks, service marks, logotypes, or other distinguishing graphics.
在你和 npm 之间,你对你的内容承担全部责任。你不能错误地暗示你的内容是由 npm 赞助或批准的。除非根据隐私政策的规定,npm 没有义务存储、维护或提供你的内容副本。
🌐 Between you and npm, you remain solely responsible for Your Content. You will not wrongly imply that Your Content is sponsored or approved by npm. npm will not be obligated to store, maintain, or provide copies of your content, except per the Privacy Policy.
如果 npm 怀疑你的内容被提交或使用违反了“可接受使用政策”,以及根据版权政策,npm 可能会在不通知的情况下从 npm 服务中移除你的内容。
🌐 npm may remove Your Content from npm Services without notice if npm suspects Your Content was submitted or used in violation of "Acceptable Use", as well as per the Copyright Policy.
你的内容属于你自己。你决定是否以及如何授权其使用。但至少,当你分享内容时,你授权 npm 向 npm 服务的用户提供你的内容。该特殊授权允许 npm 复制、发布和分析你的内容,并将其分析结果与他人分享。npm 可能运行你内容中的计算机代码以进行分析,但仅凭 npm 的该特殊授权,并不赋予 npm 在其产品或服务中为实现功能而运行代码的权利。
🌐 Your Content belongs to you. You decide whether and how to license it. But at a minimum, you license npm to provide Your Content to users of npm Services when you share Your Content. That special license allows npm to copy, publish, and analyze Your Content, and to share its analyses with others. npm may run computer code in Your Content to analyze it, but npm's special license alone does not give npm the right to run code for its functionality in npm products or services.
当你的内容从 npm 服务中被移除时,无论是由你还是由 npm 移除,当最后一份副本从 npm 的备份、缓存及其他系统中消失时,npm 的特别许可即终止。其他许可,例如开源许可,可能在你的内容被移除后继续有效。这些许可可能赋予他人或 npm 本身再次在 npm 服务中共享你的内容的权利。
🌐 When Your Content is removed from npm Services, whether by you or npm, npm's special license ends when the last copy disappears from npm's backups, caches, and other systems. Other licenses, such as open source licenses, may continue after Your Content is removed. Those licenses may give others, or npm itself, the right to share Your Content with npm Services again.
通过 npm 服务接收你内容的其他人可能会违反你授权内容的条款。你同意 npm 对这些违规行为或其后果不承担责任。
🌐 Others who receive Your Content via npm Services may violate the terms on which you license Your Content. You agree that npm will not be liable to you for those violations or their consequences.
🌐 Feedback
npm 欢迎你对 npm 服务提出反馈和建议。你同意 npm 可以在不另行通知、不征得同意或支付报酬的情况下,依据你提供的反馈和建议采取行动。你不会提交你认为是机密或专有的反馈或建议。
🌐 npm welcomes your feedback and suggestions for npm Services. You agree that npm will be free to act on feedback and suggestions you provide without further notice, consent, or payment. You will not submit feedback or suggestions that you consider confidential or proprietary.
🌐 Indemnity
你将对npm及其管理人员、董事、员工、代表和代理人进行赔偿,并使其免受因任何第三方索赔、要求、诉讼或其他程序所产生的所有责任、费用、损害和成本的影响,这些索赔、要求、诉讼或程序声称你的内容、你对npm服务的使用或两者均违反了第三方的知识产权、本协议或适用法律。在未获得npm事先书面同意的情况下,你不得解决任何此类程序。npm将在其知悉任何此类程序时通知你。
🌐 You will indemnify npm, its officers, directors, employees, representatives, and agents, and hold them harmless for, all liability, expenses, damages, and costs from any third-party claims, demands, lawsuits, or other proceedings alleging that Your Content, your use of npm Services, or both, violate the intellectual property right of a third party, this Agreement, or applicable law. You will not settle any such proceeding without the prior written consent of npm. npm will notify you of any such proceeding it becomes aware of.
🌐 Disclaimers
使用 npm 服务风险由你自行承担。npm 服务是按照“原样”和“可用”提供的。npm 明确否认任何形式的所有保证,无论是明示、暗示还是法定保证,包括所有权、非侵权、适销性以及特定用途适用性的暗示保证。
npm 不保证 npm 服务能满足你的需求、能够不间断、及时、安全或无错误地运行,也不保证 npm 服务中的错误会被修复。
你通过 npm 服务接收的材料风险自负。因使用 npm 服务或通过 npm 服务接收的材料可能导致的计算机系统和网络损坏,以及任何数据丢失,你将完全自行负责。
npm 服务可能提供不准确、不完整、具有误导性、非法、冒犯性或其他有害的信息和软件。npm 可能会审核由 npm 服务提供的内容,但并不承诺会进行审核。
🌐 npm Services may provide information and software that is inaccurate, incomplete, misleading, illegal, offensive, or otherwise harmful. npm may, but does not promise to, review content provided by npm Services.
npm 服务提供有关软件包所有权和许可的信息,这些信息由软件包的发布者提供。这些信息可能不准确。npm 无法提供也不提供法律建议。
🌐 npm Services provide information about ownership and licensing of Packages, as provided by those Packages' publishers. That information may be wrong. npm cannot and does not provide legal advice.
🌐 Third-Party Services
npm 服务可能会链接到第三方应用、网站和其他服务,并与之集成。你可以自行决定是否以及如何使用和与这些服务互动。npm 不对这些服务或其可能提供的内容作出任何保证,也不对你因使用这些服务而产生的任何损害承担责任。使用此类第三方服务可能受其他条款和隐私声明的约束,这些条款和声明不属于本协议的一部分,也不受 npm 控制。
🌐 npm Services may hyperlink to and integrate with third-party applications, websites, and other services. You decide whether and how to use and interact with such services. npm does not make any warranty regarding such services or content they may provide, and will not be liable to you for any damages related to such services. Use of such third-party services may be governed by other terms and privacy notices that are not part of this Agreement and are not controlled by npm.
🌐 Limits on Liability
无论在任何情况下,npm 或 npm 用于提供 npm 服务的任何第三方服务提供商,都不对你因使用 npm 服务或本协议而产生的任何间接的、附带的、后果性的、特殊的或示范性的损害承担责任,无论是基于合同违约、保证违约、侵权(包括过失、产品责任或其他)、或任何其他经济损失,也无论 npm 是否已被告知此类损害的可能性。
在法律允许的最大范围内,npm 对你因本协议产生的任何损害的责任,无论原因或诉讼形式如何,均不超过 50 美元。
某些司法管辖区不允许排除某些保证或限制附带或间接损害的责任。一些“免责声明”和“责任限制”可能不适用于你。
🌐 Some jurisdictions do not allow exclusion of certain warranties or limits on liability for incidental or consequential damages. Some of "Disclaimers" and "Limits on Liability" may not apply to you.
🌐 Termination
你或 npm 均可随时终止本协议,并通知对方。
🌐 Either you or npm may terminate this Agreement at any time with notice to the other.
本协议终止后,你使用 npm 开源的许可以及你根据附加条款访问付费服务的任何许可也将终止。
🌐 On termination of this Agreement, your permission to use npm Open Source, as well any permission you may have to access Paid Services under additional terms, also terminate.
以下条款在本协议终止后仍然有效:“你的内容”、“反馈”、“赔偿”、“免责声明”、“责任限制”和“一般条款”。npm 服务的用户在本协议终止后仍可继续复制和分享你的内容。
🌐 The following provisions survive termination of this Agreement: "Your Content", "Feedback", "Indemnity", "Disclaimers", "Limits on Liability", and "General Terms". Users of npm Services may continue to copy and share Your Content after termination of this Agreement.
🌐 Payment Terms
使用 npm 开源项目是免费的。如果你使用 npm 的付费服务,将适用我们的付费服务条款 https://npm.nodejs.cn/policies/private-terms。
🌐 There is no charge for use of npm Open Source. If you use Paid Services from npm, our Paid Services Terms at https://npm.nodejs.cn/policies/private-terms apply.
🌐 General Terms
如果本协议的某条款按原文无法执行,但可以通过修改使其可执行,则应将该条款修改到使其可执行所需的最小范围。否则,该条款应被删除。
🌐 If a provision of this Agreement is unenforceable as written, but could be changed to make it enforceable, that provision should be modified to the minimum extent necessary to make it enforceable. Otherwise, that provision should be removed.
你不得转让本协议。npm 可以将本协议转让给 npm 的任何关联公司、任何获得 npm 控制权的第三方,或购买与 npm 服务相关的 npm 资源的任何第三方。任何违反本条款的权利转让行为均无效。
🌐 You may not assign this Agreement. npm may assign this Agreement to any affiliate of npm, any third party that obtains control of npm, or any third party that purchases assets of npm relating to npm Services. Any purported assignment of rights in breach of this provision is void.
行使本协议项下的任何权利或放弃追究任何违反本协议的行为,均不构成放弃任何其他违反本协议的行为。
🌐 Neither the exercise of any right under this Agreement, nor waiver of any breach of this Agreement, waives any other breach of this Agreement.
本协议以及你与 npm 商定的付费服务和 npm 软件的附加条款,包含了你与 npm 之间关于 npm 服务的所有协议条款。本协议取代任何其他关于 npm 服务的协议,无论是否以书面形式存在。
🌐 This Agreement, together with the additional terms for Paid Services and npm software that you and npm agree to, embody all the terms of agreement between you and npm about npm Services. This Agreement supersedes any other agreements about npm Services, written or not.
🌐 Disputes
加利福尼亚州的法律将管辖任何与本协议或你使用 npm 服务(争议)相关的纠纷,包括任何法律程序。
🌐 The law of the State of California will govern any dispute, including any legal proceedings, relating to this Agreement or your use of npm Services (a Dispute).
你和 npm 将仅在加利福尼亚州旧金山的州或联邦法院寻求与本协议相关的禁令。你和 npm 均不会对这些法院的管辖权、审判地点或审判法院提出异议。
🌐 You and npm will seek injunctions related to this agreement only in state or federal court in San Francisco, California. Neither you nor npm will object to jurisdiction, forum, or venue in those courts.
除非寻求禁令,否则你和 npm 将通过美国仲裁协会的具有约束力的仲裁来解决任何争议。仲裁将遵循美国仲裁协会的《商业仲裁规则》和《消费者相关争议补充程序》。仲裁将在加利福尼亚州旧金山进行。你将以个人身份解决任何争议,而不是作为集体诉讼或其他代表程序的一部分,无论是作为原告还是集体成员。未经 npm 许可,任何仲裁员不得将任何争议与其他仲裁合并处理。
任何仲裁裁决将包括仲裁费用、合理的律师费以及证人的合理费用。你或 npm 可以在任何有管辖权的法院执行仲裁裁决。
🌐 Any arbitration award will include costs of the arbitration, reasonable attorneys' fees, and reasonable costs for witnesses. You or npm can enter arbitration awards in any court with jurisdiction.
🌐 Notices and Questions
你可以将有关 npm 通知以及有关 npm 产品和服务条款的问题发送至 legal-support@github.com 或邮寄至:
🌐 You may send notice to npm and questions about the terms governing npm products and services to legal-support@github.com or by mail to:
GitHub 公司
收件人:npm 法律部
88 Colin P Kelly Jr 街
旧金山,加利福尼亚州 94107
🌐 GitHub, Inc
Attn: npm Legal Department
88 Colin P Kelly Jr St
San Francisco, CA. 94107
npm 可能会使用你为账户提供的电子邮件地址或在网站上的主页或你的账户页面上发布消息向你发送通知。
🌐 npm may send you notice using the email address you provide for your Account or by posting a message to the homepage or your Account page on the Website.