Function: parsePackageName()
parsePackageName(
packageName,input?):ParsePackageNameOutput
Takes a package name and returns a breakdown into conventional parts for templating.
The package name format is [@organization-name/]service-name[-required-suffix]. If provided a required suffix, this function will enforce that the name ends with it.
Parameters
| Parameter | Type |
|---|---|
packageName | string |
input? | ParsePackageNameInput |