string-utils
Installation
SKILL.md
String Utils
Provides string manipulation and transformation operations.
Usage
const str = require('./skills/string-utils');
// Case conversion
const camel = str.toCamelCase('hello world'); // helloWorld
const snake = str.toSnakeCase('helloWorld'); // hello_world
const kebab = str.toKebabCase('helloWorld'); // hello-world
// Trimming and padding
const trimmed = str.trim(' hello '); // 'hello'
const padded = str.padLeft('5', 3, '0'); // '005'