# just-camel-case

> convert a string to camel case

Latest version **6.2.0** (published 2022-12-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install just-camel-case
pnpm add just-camel-case
yarn add just-camel-case
bun add just-camel-case
```

## Health

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

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

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 6.2.0 |
| Published | 2022-12-17 |
| First published | 2016-12-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 6.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6200 |
| Author | Angus Croll |
| Maintainers | angus-c |
| Keywords | camelCase, string, no-dependencies, just |

## Links

- npm: https://www.npmjs.com/package/just-camel-case
- Repository: https://github.com/angus-c/just
- Homepage: https://github.com/angus-c/just#readme
- Issues: https://github.com/angus-c/just/issues
- npm.io page: https://npm.io/package/just-camel-case

## 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

- 6.2.0 (latest) — 2022-12-17
- 6.1.1 — 2022-08-08
- 6.1.0 — 2022-08-07
- 6.0.1 — 2021-11-13
- 6.0.0 — 2021-11-09
- 5.1.1 — 2021-11-01
- 5.1.0 — 2021-10-31
- 5.0.0 — 2021-10-22
- 4.0.2 — 2018-10-20
- 4.0.1 — 2018-10-20
- 4.0.0 — 2018-10-20
- 3.1.0 — 2018-08-09
- 3.0.0 — 2017-12-02
- 2.0.0 — 2017-10-01
- 1.0.0 — 2016-12-31

## README

<!-- DO NOT EDIT THIS FILE! THIS FILE WAS AUTOGENERATED BY TEMPLATE-MATE -->
<!-- SEE https://github.com/angus-c/just/blob/master/CONTRIBUTING.md#readme-template -->

## just-camel-case

Part of a [library](https://anguscroll.com/just) of zero-dependency npm modules that do just do one thing.
Guilt-free utilities for every occasion.

[`🍦 Try it`](https://anguscroll.com/just/just-camel-case)

```shell
npm install just-camel-case
```
```shell
yarn add just-camel-case
```

Convert a string to camel case

```js
  import camelCase from 'just-camel-case';

  camelCase('the quick brown fox'); // 'theQuickBrownFox'
  camelCase('the_quick_brown_fox'); // 'theQuickBrownFox'
  camelCase('the-quick-brown-fox'); // 'theQuickBrownFox'
  camelCase('theQuickBrownFox'); // 'theQuickBrownFox'
  camelCase('thequickbrownfox'); // 'thequickbrownfox'
  camelCase('the - quick * brown# fox'); // 'theQuickBrownFox'
  camelCase('behold theQuickBrownFox'); // 'beholdTheQuickBrownFox'
  camelCase('Behold theQuickBrownFox'); // 'beholdTheQuickBrownFox'
  // all caps words are camel-cased
  camelCase('The quick brown FOX'), 'theQuickBrownFox');
  // all caps substrings >= 4 chars are camel-cased
  camelCase('theQUickBrownFox'); // 'theQUickBrownFox'
  camelCase('theQUIckBrownFox'); // 'theQUIckBrownFox'
  camelCase('theQUICKBrownFox'); // 'theQuickBrownFox'
```

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