Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/node-core-library > PackageName > getUnscopedName

PackageName.getUnscopedName() method

The parsed NPM package name without the scope.

Signature:

static getUnscopedName(packageName: string): string;

Parameters

ParameterTypeDescription
packageNamestring

Returns:

string

Remarks

For example, if the parsed input was "@scope/example", then the name would be "example".