Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/module-minifier > getIdentifier

getIdentifier() function

Gets a base54 string suitable for use as a JavaScript identifier, omitting those that are valid ECMAScript keywords

Signature:

export declare function getIdentifier(ordinal: number): string;

Parameters

Parameter

Type

Description

ordinal

number

The number to convert to a base54 identifier

Returns:

string