Module utils

Module utils 

Source

Functionsยง

sanitize_module_name
Sanitizes module names for use as directory/file names Replaces spaces with hyphens, converts to lowercase, and removes other invalid characters This ensures consistent casing across case-insensitive filesystems (like macOS)
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