naming-transformer
v0.0.1
Published
## Usage
Downloads
1
Readme
naming-transformer
Usage
npm i --save naming-transformer
import {
camelToSnake,
snakeToCamel,
camelToTitle,
snakeToTitle
} from 'naming-transformer'
snakeToCamel('some_variable_name') // someVariableName
camelToSnake('someVariableName') // some_variable_name
camelToTitle('thisIsAnEntirelyLowercaseString') // This is an Entirely Lowercase String
snakeToTitle('this_is_an_entirely_lowercase_string') // This is an Entirely Lowercase String
Title naming convention in this package refers to this post
Liscence
MIT @Chang