# format-title

> Manipulate strings to give you the format you need: capitalized/non-capitalized per word or first word only etc...

Latest version **1.1.1** (published 2017-02-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install format-title
pnpm add format-title
yarn add format-title
bun add format-title
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.1 |
| Published | 2017-02-27 |
| First published | 2017-02-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Daniel Voaviarison |
| Maintainers | dvoaviarison |
| Keywords | title, uppercase, lowercase, string, capitalize |

## Links

- npm: https://www.npmjs.com/package/format-title
- Repository: https://github.com/dvoaviarison/format-title
- Homepage: https://github.com/dvoaviarison/format-title#readme
- Issues: https://github.com/dvoaviarison/format-title/issues
- npm.io page: https://npm.io/package/format-title

## Dependencies (1)

- [markdown-code-blocks](https://npm.io/package/markdown-code-blocks.md) 0.0.1

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

- 1.1.1 (latest) — 2017-02-27
- 1.1.0 — 2017-02-27
- 1.0.0 — 2017-02-14

## README

# format-title

[![Build Status](https://travis-ci.org/dvoaviarison/format-title.svg?branch=master)](https://travis-ci.org/dvoaviarison/format-title)

Manipulate strings to give you the title format you need: capitalized/non-capitalized per word etc...

## API List
```java
capWords(string)
capFirstWord(string)
capAll(string)
capCamelize(string)
lowWords(string)
lowFirstWord(string)
lowAll(string)
lowCamelize(string)
```

## Example

Capitalize each word

```js
var formatTitle = require('format-title');
console.log(formatTitle.capWords('this is my title'));
// > This Is My Title
```

Capitalize first word only

```js
var formatTitle = require('format-title');
console.log(formatTitle.capFirstWord('this is my title'));
// > This is my title
```

Capitalize all (trivial)

```js
var formatTitle = require('format-title');
console.log(formatTitle.capAll('this is my title'));
// > THIS IS MY TITLE
```

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