Package detail

@artsy/to-title-case

artsy7.6kMIT1.1.0

Capitalizes your titles as per The Chicago Manual of Style

capitalize, chicago

readme

Title

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

Usage

Firstly, install the package:

npm install @artsy/to-title-case
# or
yarn add @artsy/to-title-case

Then load it and convert any input:

import { toTitleCase } from "@artsy/to-title-case"

toTitleCase("hello name")

// Will result in:
// "Hello Name"

That's it!

changelog

v1.1.0 (Mon Oct 04 2021)

🚀 Enhancement

  • Added "in", "by", and "off" to the list of lowercased words. #7 (@john-stephens)

Authors: 1


v1.0.3 (Thu Aug 26 2021)

🐛 Bug Fix

Authors: 1


v1.0.1 (Thu Aug 26 2021)