{"id":24865057,"url":"https://github.com/imevanc/casenator","last_synced_at":"2025-07-27T20:40:49.078Z","repository":{"id":255438404,"uuid":"849600963","full_name":"imevanc/casenator","owner":"imevanc","description":"Casenator - The Ultimate String Transformation Utility","archived":false,"fork":false,"pushed_at":"2025-07-05T15:56:15.000Z","size":7480,"stargazers_count":6,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-05T17:05:56.987Z","etag":null,"topics":["camelcase","javascript","js","kebab-case","lowercase","pascalcase","reverse-strings","string-manipulation","substring","uppercase"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/imevanc.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-08-29T22:25:53.000Z","updated_at":"2025-06-01T20:03:50.000Z","dependencies_parsed_at":"2024-12-15T19:21:15.090Z","dependency_job_id":"c3f5928e-08f4-4855-ad1c-752c6166ca5d","html_url":"https://github.com/imevanc/casenator","commit_stats":null,"previous_names":["imevanc/casenator"],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/imevanc/casenator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imevanc%2Fcasenator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imevanc%2Fcasenator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imevanc%2Fcasenator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imevanc%2Fcasenator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imevanc","download_url":"https://codeload.github.com/imevanc/casenator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imevanc%2Fcasenator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267420232,"owners_count":24084333,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["camelcase","javascript","js","kebab-case","lowercase","pascalcase","reverse-strings","string-manipulation","substring","uppercase"],"created_at":"2025-01-31T23:57:19.392Z","updated_at":"2025-07-27T20:40:49.067Z","avatar_url":"https://github.com/imevanc.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🦸‍♂️ Casenator - The Ultimate String Transformation Utility\n\n[![npm version](https://img.shields.io/npm/v/casenator.svg)](https://www.npmjs.com/package/casenator)\n[![License](https://img.shields.io/npm/l/casenator)](https://img.shields.io/npm/l/casenator)\n\n**Casenator** is your go-to tool for all things string transformation. Whether you need to switch between `camelCase`, `PascalCase`, `kebab-case` and many more! 🎉\n\n---\n\n\n## 🔥 Features\n- 🔄 **CamelCase** – Convert any string to `camelCase`.\n- 🏛 **PascalCase** – Format strings in `PascalCase`.\n- 📐 **KebabCase** – Get your strings into `kebab-case`.\n- 🔠 **Uppercase** – Make everything UPPERCASE.\n- 🔡 **Lowercase** – Convert text to lowercase.\n- 🔙 **Reverse** – Reverse the characters in a string.\n- 🔍 **Substring** – Extract specific parts of your string.\n- 🦊 **CapitalCase** - Convert any string to `Capital Case`.\n- 🐒 **DotCase** - Format string in `dot.case`.\n- 🦀 **ConstantCase** - Get your string into `CONSTANT_CASE`.\n- 🐸 **NoCase** - Convert any string to `no case`.\n- 🐬 **SnakeCase** - Format string in `snake_case`.\n- 🦁 **PathCase** - Get your string into `/pathCase`.\n- 🦧 **CobolCase** - Format string in `COBOL-CASE`.\n- 🐫 **LeetSpeak** - Make everything `1337 5p34k`.\n- 🦄 **ConvertWithCustomDelimiter** - Convert any string to `custom-delimiter where - is the new delimiter`.\n- 🛠️ **TransformArrayStrings** - Transform an array of strings into various cases.\n\n---\n\n## 🚀 Installation\nFirst, add **Casenator** to your project via npm:\n\n```bash\nnpm install casenator\n```\n\n---\n\n🛠️ Usage\nHere’s how to start transforming your strings with Casenator:\n\n```javascript\n// Import the functions you need from Casenator\nimport { \n    toCamelCase,\n    toPascalCase,\n    toKebabCase,\n    toUpperCase,\n    reverseString,\n    substring,\n    toCapitalCase,\n    toConstantCase,\n    toDotCase,\n    toNoCase,\n    toSnakeCase,\n    toPathCase,\n    toCobolCase,\n    toLeetSpeak,\n    convertToCustomDelimiter,\n    transformArrayStrings\n} from 'casenator';\n\n// Camel Case\nconsole.log(toCamelCase('Hello world!'));  // 'helloWorld'\n\n// Pascal Case\nconsole.log(toPascalCase('hello world'));  // 'HelloWorld'\n\n// Kebab Case\nconsole.log(toKebabCase('Hello World!'));  // 'hello-world'\n\n// Uppercase\nconsole.log(toUpperCase('hello world'));   // 'HELLO WORLD'\n\n// Reverse a String\nconsole.log(reverseString('Hello'));       // 'olleH'\n\n// Substring\nconsole.log(substring('hello world', 0, 5));  // 'hello'\n\n// Capital Case\nconsole.log(toCapitalCase('hello world'));  // 'Hello World'\n\n// Dot Case\nconsole.log(toDotCase('hello-world'));  // 'hello.world'\n\n// Constant Case\nconsole.log(toConstantCase('hello world'));  // 'HELLO_WORLD'\n\n// No Case\nconsole.log(toNoCase('hello--world'));  // 'hello world'\n\n// Snake Case\nconsole.log(toSnakeCase('hello world')); // 'hello_world'\n\n// Path Case\nconsole.log(toPathCase('hello world')); // '/helloWorld'\n\n// Cobol Case\nconsole.log(toCobolCase('hello world')); // 'HELLO-WORLD'\n\n// Leet Speak\nconsole.log(toLeetSpeak('hello world')); // 'h3110 w021d'\n\n// Convert With Custom Delimiter\nconsole.log(convertWithCustomDelimiter(\"hello-world\", \"-\", \".\")); // 'hello.world'\n\n// Transform Array of Strings\nconsole.log(transformArrayStrings(['hello world', 'foo bar'], 'snake')); // ['hello_world', 'foo_bar']\n\n```\n\n---\n\n## 🔥 Why Casenator?\n- 🚀 **Lightweight** – Minimal footprint and blazingly fast.\n- 🛡️ **Robust** – Handles invalid inputs with helpful errors.\n- 🛠️ **Versatile** – Perfect for all your string formatting needs.\n- ✅ **Tested** – Comprehensive unit test coverage for all edge cases.\n\n---\n\n## 📝 License\nThis project is licensed under the **MIT License**. See the [LICENCE](LICENCE) file for details.\n\n---\n\n## 🙌 Contributing\nFeel free to contribute, raise issues, or suggest features to make **casenator** even better! 🤘\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimevanc%2Fcasenator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimevanc%2Fcasenator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimevanc%2Fcasenator/lists"}