# capital-case

> Transform into a space separated string with each word capitalized

Latest version **2.0.0** (published 2023-09-30) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install capital-case
pnpm add capital-case
yarn add capital-case
bun add capital-case
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2023-09-30 |
| First published | 2019-12-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM |
| Dependencies | 1 |
| Unpacked size | 3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2404 |
| Author | Blake Embrey |
| Maintainers | blakeembrey |
| Keywords | capital, case, title, capital-case, convert, transform, capitalize |

## Links

- npm: https://www.npmjs.com/package/capital-case
- Repository: https://github.com/blakeembrey/change-case
- Homepage: https://github.com/blakeembrey/change-case/tree/master/packages/capital-case#readme
- Issues: https://github.com/blakeembrey/change-case/issues
- npm.io page: https://npm.io/package/capital-case

## Dependencies (1)

- [no-case](https://npm.io/package/no-case.md) ^4.0.0

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

- 2.0.0 (latest) — 2023-09-30
- 1.0.4 — 2020-12-02
- 1.0.3 — 2019-12-19
- 1.0.2 — 2019-12-06
- 1.0.1 — 2019-12-03
- 1.0.0 — 2019-12-01

## README

# Capital Case

> Transform into a space separated string with each word capitalized.

## Installation

```
npm install capital-case --save
```

## Usage

```js
import { capitalCase } from "capital-case";

capitalCase("string"); //=> "String"
capitalCase("dot.case"); //=> "Dot Case"
capitalCase("PascalCase"); //=> "Pascal Case"
capitalCase("version 1.2.10"); //=> "Version 1 2 10"
```

The function also accepts [`options`](https://github.com/blakeembrey/change-case#options).

## License

MIT

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