Module utils

Module utils 

Source

Functionsยง

sanitize_module_name
Sanitizes module names for use as directory/file names Replaces spaces with hyphens and removes other invalid characters
sanitize_property_name
Sanitizes a property name to be a valid JavaScript identifier Returns the original name if valid, or the name in quotes if invalid
to_camel_case
to_pascal_case