Module identifier

Module identifier 

Source

Functionsยง

is_js_keyword
Returns whether the given string is a JS keyword.
is_non_value_js_keyword
Returns whether the given string is a JS keyword that does NOT behave like a value.
is_valid_ident
Returns whether a string is a valid JavaScript identifier. Defined at https://tc39.es/ecma262/#prod-IdentifierName.
to_valid_ident
Converts a string to a valid JavaScript identifier by replacing invalid characters with underscores.