If the module exports a class, then it should use Pascal casing
Examples:
DatabaseRepository.ts
MenuComponent.tsx
HttpApplicationFactory.tsIn cases where a module is used to bootstrap an another module, or to contain a fantastic amount of business logic, it might be useful to name the module after the function within.
Examples:
createHttpApplicatio.ts
createStore.ts
startService.ts
bootstrapApplication.ts
Some modules may contain multiple entities that are only loosely related by the domain, but are more related by type. For example, one suck module may only contain types for a project. Another module may contain functions designed for array.map or array.find.
Examples:
product-types.ts
product-utils.ts