Skip to content

Expand set of valid characters for a package name to include dot #1295

@Delapouite

Description

@Delapouite

Hi

From https://docs.npmjs.com/creating-a-package-json-file the current text states:

The "name" field contains your package's name, and must be lowercase and one word, and may contain hyphens and underscores.

It appears that dots can also be used, here's an example of package name with a dot: gssapi.js https://www.npmjs.com/package/gssapi.js

I think this should also be mentioned in the doc.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions