Skip to content

ggiacomini2012/snake-camel-switch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

snake-camel-switch

This is my third npm package 🐙

How to use

In your terminal write: npm install snake-camel-switch

Example

const change = require('snake-camel-switch')

const object = { an_bn_cn: 0, an_an: 0 }

console.log(change.toCamel(object)); // { anBnCn: 0, anAn: 0 }

const object2 = { anBnCn: 0, anAn: 0 }

console.log(change.toSnake(object2)) // { an_bn_cn: 0, an_an: 0 }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published