• Type: {string}
    1. {
    2. "name": "package-name"
    3. }

    The "name" field defines your package’s name. Publishing to the npm registry requires a name that satisfies certain requirements.

    The "name" field can be used in addition to the ["exports"][] field to [self-reference][] a package using its name.