0.0.6 • Published 4 years ago

dot-snake-camel-case-convertor v0.0.6

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

dot-snake-camel-case-convertor

【WIP】convert dot-case, snake_case, camelCase to one another. eg: hello-world => hello_world / HelloWorld (vice versa)

Install

npm install dot-snake-camel-case-convertor

Usage

// es module
import camel2dot from 'dot-snake-camel-case-convertor'
camel2dot('helloWorld') // hello-world
// commonjs
const camel2dot = require('dot-snake-camel-case-convertor')
camel2dot('helloWorld') // hello-world

Tip

this is still working in progress. only support strict camelCase to dot-case now. eg: helloWorld => hello-world

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago