Skip to content

angus-mcritchie/string

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 

Repository files navigation

@gooby/string

Install

$ npm install @gooby/string

Usage

import string from '@gooby/string'; // OR import {toSnake, toCamel} from '@gooby/string';

// Simple object
string.toCamel('my_string'); // 'myString'
string.toSnake('myString'); // 'my_string'

API

string.toSnake(string)

string

Type: string

string.toCamel(string)

string

Type: string

About

Convert string case to popular conventions.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published