Skip to content

programmerer1/text-format-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

text-format-utils

A simple JavaScript library for formatting text strings into camelCase, snake_case, and kebab-case.

Installation

npm install text-format-utils

## Usage

const { toCamelCase, toSnakeCase, toKebabCase } = require('text-format-utils');

console.log(toCamelCase("hello world")); // helloWorld
console.log(toSnakeCase("HelloWorld")); // hello_world
console.log(toKebabCase("hello_world")); // hello-world

About

Text-format-utils

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published