# @salihsagdilek/caseify

> Super smart convert across case types

Latest version **0.2.1** (published 2020-04-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install @salihsagdilek/caseify
pnpm add @salihsagdilek/caseify
yarn add @salihsagdilek/caseify
bun add @salihsagdilek/caseify
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.1 |
| Published | 2020-04-25 |
| First published | 2020-04-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 105.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | salihsagdilek |
| Maintainers | salihsagdilek |
| Keywords | camelcase, kebapcase, snakecase, pascalcase, uppercase, dotcase, caseify, case converter, case types |

## Links

- npm: https://www.npmjs.com/package/@salihsagdilek/caseify
- Repository: https://github.com/salihsagdilek/caseify
- Homepage: https://github.com/salihsagdilek/caseify#readme
- Issues: https://github.com/salihsagdilek/caseify/issues
- npm.io page: https://npm.io/package/@salihsagdilek/caseify

## Dependencies (1)

- [core-js](https://npm.io/package/core-js.md) ^3.6.5

## 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.2.1 (latest) — 2020-04-25
- 0.2.0 — 2020-04-24
- 0.1.0 — 2020-04-24

## README

# caseify

## installation

```javascript
npm i @salihsagdilek/caseify
```

## usage

```javascript
caseify('str', caseType[, config])
```

## examples

|Value                  |camelCase     |kebap-case       |snake_case       | PascalCase      |UPPERCASE  |UPPER_CASE    |dot.case
|---                    |---           |---              |---              |---              |---        |---           |---
|Hello world            |helloWorld    |hello-world      |hello_world      |HelloWorld       |HELLOWORLD |HELLO_WORLD   |Hello.world
|camelCase              |camelCase     |camel-case       |camel_case       |CamelCase        |CAMELCASE  |CAMEL_CASE    |camel.Case
|kebap-case             |kebapCase     |kebap-case       |kebap_case       |KebapCase        |KEBAPCASE  |KEBAP_CASE    |kebap.case
|snake_case             |snakeCase     |snake-case       |snake_case       |SnakeCase        |SNAKECASE  |SNAKE_CASE    |snake.case
|PascalCase             |pascalCase    |pascal-case      |pascal_case      |PascalCase       |PASCALCASE |PASCAL_CASE   |Pascal.Case
|UPPERCASE              |uppercase     |uppercase        |uppercase        |Uppercase        |UPPERCASE  |UPPERCASE     |UPPERCASE
|UPPER_CASE             |uPPERCase     |u-p-p-e-r-case   |u_p_p_e_r_case   |UPPERCase        |UPPERCASE  |U_P_P_E_R_CASE|U.P.P.E.R.CASE
|dot.case               |dotCase       |dot-case         |dot_case         |DotCase          |DOTCASE    |DOT_CASE      |dot.case



```javascript
caseify('Hello World', 'camelCase') // output: helloWorld
caseify('Hello World', 'kebap-case') // output: hello-world
caseify('Hello World', 'snake_case') // output: hello_world
caseify('Hello World', 'PascalCase') // output: HelloWorld
caseify('Hello World', 'UPPERCASE') // output: HELLOWORLD
caseify('Hello World', 'UPPER_CASE') // output: HELLO_WORLD
caseify('Hello World', 'dot.case') // output: Hello.World
```

## configs
   every methods have own config but also every method have common config
   
### joiner config

```javascript
    caseify('Hello World', 'UPPERCASE', {joiner:'-'}) // output: HELLO-WORLD
```

---
_Source: https://npm.io/package/@salihsagdilek/caseify · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
