npm 行为准则

npm 的存在是为了方便 JavaScript 模块开发者发布和分发软件包,从而促进代码共享。

🌐 npm exists to facilitate sharing code, by making it easy for JavaScript module developers to publish and distribute packages.

npm 是一项技术,但更重要的是,它是一个社区。

🌐 npm is a piece of technology, but more importantly, it is a community.

我们相信,我们的使命在一个友好、安全和包容的环境中得到最好地实现;这个环境不应有恐吓或骚扰。

🌐 We believe that our mission is best served in an environment that is friendly, safe, and accepting; free from intimidation or harassment.

为此,某些行为和做法将不被容忍。

🌐 Towards this end, certain behaviors and practices will not be tolerated.

tl;dr

  • 请保持尊重。
  • 我们随时为你提供帮助
  • 绝不容忍滥用行为。
  • 发布到 npm 的数据由服务管理员自行决定托管,并可能被删除。
  • 违反此准则可能会导致你被迅速且永久地驱逐出 npm 社区。

范围

🌐 Scope

我们希望 npm 社区的所有成员,包括 npm, Inc. 的付费和免费代理、管理员、用户和客户,在所有 npm 社区场所(包括线上和线下)以及与 npm 事务相关的一对一沟通中始终遵守本行为准则。

🌐 We expect all members of the npm community, including paid and unpaid agents, administrators, users, and customers of npm, Inc., to abide by this Code of Conduct at all times in all npm community venues, online and in person, and in one-on-one communications pertaining to npm affairs.

本政策涵盖了 npm 注册表的使用,以及 npm 网站、与 npm 相关的活动和 npm 公司或其代表提供的任何其他服务(统称为“服务”)。它还适用于 npm 开源项目社区中的行为,包括但不限于公共 GitHub 仓库、IRC 通道、社交媒体、邮件列表和公共活动。

🌐 This policy covers the usage of the npm registry, as well as the npm website, npm related events, and any other services offered by or on behalf of npm, Inc. (collectively, the "Service"). It also applies to behavior in the context of the npm Open Source project communities, including but not limited to public GitHub repositories, IRC channels, social media, mailing lists, and public events.

本行为准则是​​对与使用服务相关的任何其他条款或条件的补充,并不以任何方式使其无效或失效。

🌐 This Code of Conduct is in addition to, and does not in any way nullify or invalidate, any other terms or conditions related to use of the Service.

各种主观术语的定义,如“歧视性”、“仇恨”或“令人困惑”,将由 npm 滥用团队全权决定。

🌐 The definitions of various subjective terms such as "discriminatory", "hateful", or "confusing" will be decided at the sole discretion of the npm abuse team.

友好无骚扰空间

🌐 Friendly Harassment-Free Space

我们致力于为所有人提供友好、安全和温馨的环境,不论其性别认同、性取向、能力、民族、宗教、年龄、外貌、体型、种族或类似的个人特性。

🌐 We are committed to providing a friendly, safe and welcoming environment for all, regardless of gender identity, sexual orientation, ability, ethnicity, religion, age, physical appearance, body size, race, or similar personal characteristics.

我们希望你能够尊重人们在技术选择上的不同意见,每一个设计或实现的选择都伴随着权衡和各种成本。很少有唯一正确的答案。技术偏好的不同并不是粗鲁无礼的理由。

🌐 We ask that you please respect that people have differences of opinion regarding technical choices, and that every design or implementation choice carries a trade-off and numerous costs. There is seldom a single right answer. A difference of technology preferences is not a license to be rude.

有关套餐权利的争议必须根据争议政策中描述的条款予以尊重地处理。对于套餐名称的争议,绝不能无理粗鲁。

🌐 Disputes over package rights must be handled respectfully, according to the terms described in the Disputes Policy. There is never a good reason to be rude over package name disputes.

任何垃圾邮件、恶意攻击、煽动性言论、诱饵或其他窃取注意力的行为均不受欢迎,且不会被容忍。

🌐 Any spamming, trolling, flaming, baiting, or other attention-stealing behavior is not welcome, and will not be tolerated.

无论通过公共媒体还是私有媒体,骚扰本服务的其他用户都是绝不容忍的。

🌐 Harassing other users of the Service is never tolerated, whether via public or private media.

请避免使用冒犯性或骚扰性的软件包名称、昵称或其他标识符,以免破坏友好、安全且友好的环境。

🌐 Avoid using offensive or harassing package names, nicknames, or other identifiers that might detract from a friendly, safe, and welcoming environment for all.

骚扰包括但不限于:与性别认同、性取向、能力、种族、宗教、年龄、外貌、体型、种族或类似个人特性相关的有害或偏见性言语或书面评论;在公共场所不适当地使用裸体、性图片或/和色情语言;主体或非主体的威胁;故意恐吓、跟踪或尾随;骚扰性的拍照或录像;持续中断讲座或其他活动;不适当的主体接触;以及不受欢迎的性关注。

🌐 Harassment includes, but is not limited to: harmful or prejudicial verbal or written comments related to gender identity, sexual orientation, ability, ethnicity, religion, age, physical appearance, body size, race, or similar personal characteristics; inappropriate use of nudity, sexual images, and/or sexually explicit language in public spaces; threats of physical or non-physical harm; deliberate intimidation, stalking or following; harassing photography or recording; sustained disruption of talks or other events; inappropriate physical contact; and unwelcome sexual attention.

可接受的使用

🌐 Acceptable Use

服务管理员保留对已发布的包、包名、用户和组织名称及其他公共内容进行适当性判断的权利。违反 npm 服务的 可接受的使用 规则(包括其 可接受的内容 规则)的包,将由 npm 根据其自行决定删除。

🌐 The Service administrators reserve the right to make judgment calls about what is and isn't appropriate in published packages, package names, user and organization names, and other public content. Package that violates the npm Service's Acceptable Use rules including its Acceptable Content rules will be deleted, at the discretion of npm.

报告违反本行为准则的行为

🌐 Reporting Violations of this Code of Conduct

请选择你认为最适合违规形式的联系方式:

🌐 Please select the method of contact you think is most appropriate for the form of violation:

  • 对于紧急安全问题,请在 https://npmjs.com/support 提交工单。请求下架包通常不被视为紧急安全问题,因为可以在首次发布后的 24 小时内撤回。任何公开发布的包都会 立即复制到数千个第三方镜像,因此包中包含的任何机密信息都应视为已经立即泄露。
  • 如果你认为有人在骚扰你或表现出其他形式的恶意或不当行为,请在 https://npmjs.com/support 提交支持工单。如果这是问题的初次报告,请尽可能提供详细信息。当我们掌握更多背景信息时,处理问题会更容易。
  • 如果你担心可能的版权侵权,请参考我们的 版权政策 并按照该政策建议的方式采取行动。
  • 如果你认为某个软件包或其他内容正在“占用”某个名称,请按照 争议政策 中描述的流程进行处理。

如有其他问题,或有疑问,请联系支持

🌐 For any other issues, or if in doubt, contact support.

后果

🌐 Consequences

发布到服务的所有内容,包括用户账户凭据,均由 npm 管理员自行决定托管。

🌐 All content published to the Service, including user account credentials, is hosted at the sole discretion of the npm administrators.

任何社区成员(包括赞助商、员工、客户或其他拥有决策权的人员)的不当行为都是不可接受的。

🌐 Unacceptable behavior from any community member, including sponsors, employees, customers, or others with decision-making authority, will not be tolerated.

任何被要求停止不可接受行为的人都应立即遵守。

🌐 Anyone asked to stop unacceptable behavior is expected to comply immediately.

如果社区成员有不可接受的行为,npm 管理员可能会采取其认为适当的任何措施,包括临时禁止或永久驱逐出社区,恕不另行通知(付费活动或服务不予退款)。

🌐 If a community member engages in unacceptable behavior, the npm administrators may take any action they deem appropriate, up to and including a temporary ban or permanent expulsion from the community without warning (and without refund in the case of a paid event or service).

申诉和恢复

🌐 Appeal and Reinstatement

如果你的内容或账户已被禁用或限制,并且你希望恢复或提出申诉,请查阅 GitHub 的 申诉与恢复 页面了解相关流程,并使用 申诉与恢复表单 提交请求。

🌐 If your content or account has been disabled or restricted and you seek reinstatement or wish to appeal, please review GitHub's Appeal and Reinstatement page for information about the process and use the Appeal and Reinstatement form to submit a request.

联系信息

🌐 Contact Info

如果你需要报告问题或处理与滥用报告相关的申诉,请在 https://npmjs.com/support 提交支持工单。

🌐 Please open a support ticket at https://npmjs.com/support if you need to report a problem or address a grievance related to an abuse report.

如果你对某些内容是否属于合适或不合适的范围感到好奇,我们也鼓励你与我们联系。我们很乐意提供指导,帮助你成为我们社区中成功的一员。

🌐 You are also encouraged to contact us if you are curious about something that might be "on the line" between appropriate and inappropriate content. We are happy to provide guidance to help you be a successful part of our community.

变更

🌐 Changes

这是一个动态文档,可能会不时更新。请参考此文档的 git 历史以查看更改内容。

🌐 This is a living document and may be updated from time to time. Please refer to the git history for this document to view the changes.

信用和许可

🌐 Credit and License

本行为准则在很大程度上借鉴了 Stumptown Syndicate 的《公民行为准则》(http://citizencodeofconduct.org/) 以及《Rust 项目行为准则》(https://www.rust-lang.org/conduct.html)。

🌐 This Code of Conduct borrows heavily from the Stumptown Syndicate Citizen's Code of Conduct, and the Rust Project Code of Conduct.

本文件可在知识共享署名-相同方式共享许可下重复使用。

🌐 This document may be reused under a Creative Commons Attribution-ShareAlike License.