A lightweight JavaScript utility library for string manipulation.
Currently supports:
-
toSnakeCase("Hello World")
→"hello_world"
-
toKebabCase("Hello World")
→"hello-world"
Using npm:
npm install @supidupiluki/string-toolkit
Using yarn:
yarn add @supidupiluki/string-toolkit
const { toSnakeCase, toKebabCase } = require('@supidupiluki/string-toolkit');
console.log(toSnakeCase("Hello World")); // "hello_world"
console.log(toKebabCase("Hello World")); // "hello-world"
- Easy-to-use string conversion functions
- Lightweight, no dependencies
- Fully tested with Jest
We welcome contributions!
Please read the CONTRIBUTING.md for details.
Found a security issue?
Please see SECURITY.md for how to report it.
This project is licensed under the MIT License.
Please see LICENSE.md for details.
**Tipp:** Du kannst die Datei als `README.md` in deinem Projektroot ablegen – GitHub zeigt sie dann automatisch auf der Startseite deines Repositories an.