@artsy/to-title-case
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

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!

Readme

Keywords

Package Sidebar

Install

npm i @artsy/to-title-case

Weekly Downloads

1,472

Version

1.1.0

License

MIT

Unpacked Size

27.7 kB

Total Files

22

Last publish

Collaborators

  • joeyaghion
  • artsy-engineering
  • damassi
  • anandaroop
  • mzikherman
  • dblandin