为你的软件包命名时,请选择一个符合以下要求的名称:

¥When choosing a name for your package, choose a name that:

  • 具有唯一性

    ¥Is unique

  • 具有描述性

    ¥Is descriptive

  • 符合 npm 政策指南 要求。例如,不要给你的包起一个冒犯性的名称,不要使用他人的商标名称或违反 npm 商标政策

    ¥Meets npm policy guidelines. For example, do not give your package an offensive name, and do not use someone else's trademarked name or violate the npm trademark policy.

  • 不包含大写字母

    ¥Does not contain uppercase letters

此外,为 无范围的包 选择名称时,请选择符合以下要求的名称:

¥Additionally, when choosing a name for an unscoped package, choose a name that:

  • 与其他包名称的拼写不同

    ¥Is not spelled in a similar way to another package name

  • 不会让其他人对作者身份产生混淆

    ¥Will not confuse others about authorship

npm v11.4 中文网 - 粤ICP备13048890号