Skip to content

Latest commit

 

History

History
58 lines (31 loc) · 899 Bytes

File metadata and controls

58 lines (31 loc) · 899 Bytes
hide_title true
custom_edit_url
pagination_prev
pagination_next

Home > @rushstack/node-core-library > PackageNameParser > validate

PackageNameParser.validate() method

Throws an exception if the specified name is not a valid package name. The packageName must not be an empty string.

Signature:

validate(packageName: string): void;

Parameters

Parameter

Type

Description

packageName

string

Returns:

void