Home > @rushstack/node-core-library > PackageNameParser > getUnscopedName
PackageNameParser.getUnscopedName() method
The parsed NPM package name without the scope.
Signature:
getUnscopedName(packageName: string): string;
Parameters
Parameter | Type | Description |
---|---|---|
packageName | string |
Returns:
string
Remarks
For example, if the parsed input was "@scope/example", then the name would be "example".