@puq/names
Version:
The String Names Library provides a simple names function that takes a string input and returns all possible naming convention variants, such as camelCase, snake_case, CONSTANT_CASE, and more. Perfect for tasks like code generation, formatting standardiza
43 lines (25 loc) • 1.81 kB
Markdown
<p align="center">
<img src="https://raw.githubusercontent.com/rbrightline/puq/refs/heads/main/libs/names/favicon.png" alt="Logo" />
</p>
# @puq/names
## Summary
The String Names Library provides a simple names function that takes a string input and returns all possible naming convention variants, such as camelCase, snake_case, CONSTANT_CASE, and more. Perfect for tasks like code generation, formatting standardization, or testing naming conventions.
## Features
- **names**: Generates all variations of names based on a provided string.
- **authPaths**: Generates common authentication and authorization paths with an optional prefix.
- **paths**: Generates commonly used REST paths for database entity CRUD operations and relations, including count endpoints.
- **plurize**: Converts a given string between singular and plural forms. This function is used internally by all other functions to ensure consistent singular and plural naming.
## Install
```bash
pnpm add @puq/names
```
## Funding
Thank you for using `@puq/names` It's an open-source project, and maintaining it takes time and effort. If you find this library useful, please consider supporting its ongoing development. Your contributions help ensure that the project stays up-to-date, secure, and well-maintained.
[Instant Funding](https://cash.app/$puqlib)
### Your funding will go toward
- **Bug fixes and updates** to ensure compatibility with the latest versions of dependencies.
- **New features** that will make the library even more powerful.
- **Documentation** improvements to help users get the most out of [Your Library Name].
- **General maintenance** to keep the library running smoothly and securely.
Contact to the developer: [robert.brightline@gmail.com]
[Support the developer](https://cash.app/$puqlib)