vercel/title

A service for capitalizing your title properly

JavaScript

620

121 commits

updated Feb 23, 2026

See the code

README

Title

This package correctly capitalizes your titles as per The Chicago Manual of Style.

Usage

Install the package:

pnpm add title

Then, import it and convert any input text:

import title from 'title'

title('tHe cHicaGo maNual oF StyLe')

// Will result in:
// "The Chicago Manual of Style"

You can pass words that should be capitalized as specified:

title('FaCEbook is great', {
  special: [ 'facebook' ]
})

// Will result in:
// "facebook is great"

Command Line

You can also convert titles in the command line. Install the package globally:

pnpm add -g title

Next, run it:

title "tHe cHicaGo maNual oF StyLe"

# Will result in:
# "The Chicago Manual of Style"

To see all available options, run:

title -h

Contributing

  1. Fork this repository to your own GitHub account and then clone it to your local device
  2. Uninstall title if it's already installed: pnpm remove -g title
  3. Link it to the global module directory: pnpm link

After that, you can use the title command everywhere.

Original Authors

capitalize
service
title
vercel

vercel/title

A service for capitalizing your title properly

JavaScript

620

121 commits

updated Feb 23, 2026

See the code

README

Title

This package correctly capitalizes your titles as per The Chicago Manual of Style.

Usage

Install the package:

pnpm add title

Then, import it and convert any input text:

import title from 'title'

title('tHe cHicaGo maNual oF StyLe')

// Will result in:
// "The Chicago Manual of Style"

You can pass words that should be capitalized as specified:

title('FaCEbook is great', {
  special: [ 'facebook' ]
})

// Will result in:
// "facebook is great"

Command Line

You can also convert titles in the command line. Install the package globally:

pnpm add -g title

Next, run it:

title "tHe cHicaGo maNual oF StyLe"

# Will result in:
# "The Chicago Manual of Style"

To see all available options, run:

title -h

Contributing

  1. Fork this repository to your own GitHub account and then clone it to your local device
  2. Uninstall title if it's already installed: pnpm remove -g title
  3. Link it to the global module directory: pnpm link

After that, you can use the title command everywhere.

Original Authors

capitalize
service
title
vercel

Project health

Overall

4.3/10

Maintained

0/10

Code review

4/10
OpenSSF Scorecard

Latest release

4.0.1 · Nov 20, 2024

Releases this year

0

Significant stargazers

Nicky McCurdy

515 followers · starred Jun 2026

Adem ilter

3,227 followers · starred Feb 2022

0xSero

2,159 followers · starred Aug 2022

Jason Kurian

143 followers · starred Oct 2018