"name"
- Type: <string>
{
"name": "package-name"
}
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.