# dot-snake-camel-case-convertor

> convert dot-case, snake_case, camelCase to one another.

Latest version **0.0.6** (published 2020-04-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install dot-snake-camel-case-convertor
pnpm add dot-snake-camel-case-convertor
yarn add dot-snake-camel-case-convertor
bun add dot-snake-camel-case-convertor
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.6 |
| Published | 2020-04-06 |
| First published | 2020-04-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 6.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | lalalazero |
| Maintainers | lalalazero |
| Keywords | dot-case, snake_case, camelCase |

## Links

- npm: https://www.npmjs.com/package/dot-snake-camel-case-convertor
- Repository: https://github.com/lalalazero/dot-snake-camel-case-convertor
- Homepage: https://github.com/lalalazero/dot-snake-camel-case-convertor#readme
- Issues: https://github.com/lalalazero/dot-snake-camel-case-convertor/issues
- npm.io page: https://npm.io/package/dot-snake-camel-case-convertor

## Alternatives

- [@mce/gif](https://npm.io/package/@mce/gif.md) — 2.6K weekly downloads
- [cleanse](https://npm.io/package/cleanse.md) — 173 weekly downloads
- [str](https://npm.io/package/str.md) — 127 weekly downloads
- [naming](https://npm.io/package/naming.md) — 95 weekly downloads
- [tap-telco-api](https://npm.io/package/tap-telco-api.md) — 19 weekly downloads

## Recent versions

- 0.0.6 (latest) — 2020-04-06
- 0.0.5 — 2020-04-06
- 0.0.4 — 2020-04-06
- 0.0.3 — 2020-04-05
- 0.0.2 — 2020-04-05

## README

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

## Install
```shell
npm install dot-snake-camel-case-convertor
```

## Usage
```javascript

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

```

```javascript
// 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

---
_Source: https://npm.io/package/dot-snake-camel-case-convertor · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
