Gathering detailed insights and metrics for title-case
Gathering detailed insights and metrics for title-case
Gathering detailed insights and metrics for title-case
Gathering detailed insights and metrics for title-case
capital-case
Transform into a space separated string with each word capitalized
case
Extensible string utility for converting, identifying and flipping string case
ap-style-title-case
Convert a value to AP/APA title case
text-title-case
Convert a text into title case following English rules
Convert strings between camelCase, PascalCase, Capital Case, snake_case and more
npm install title-case
Typescript
Module System
Node Version
NPM Version
100
Supply Chain
76.3
Quality
77
Maintenance
100
Vulnerability
100
License
title-case@4.3.2
Updated on Sep 15, 2024
change-case@5.4.4
Updated on Apr 03, 2024
Fix recursive options in keys change case
Updated on Feb 14, 2024
Remove regex lookbehind
Updated on Jan 10, 2024
Add `sentenceCase` option
Updated on Jan 08, 2024
Add `split` option to `change-case`
Updated on Jan 08, 2024
TypeScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
2,350 Stars
323 Commits
99 Forks
15 Watchers
2 Branches
23 Contributors
Updated on Jul 11, 2025
Latest Version
4.3.2
Package Id
title-case@4.3.2
Unpacked Size
16.19 kB
Size
4.63 kB
File Count
5
NPM Version
10.5.0
Node Version
20.12.1
Published on
Sep 15, 2024
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
No dependencies detected.
Transform a string into title case following English rules.
npm install title-case --save
1import { titleCase } from "title-case"; 2 3titleCase("string"); //=> "String" 4titleCase("follow step-by-step instructions"); //=> "Follow Step-by-Step Instructions"
locale?: string | string[]
Locale used for toLocaleUpperCase
during case transformation (default: undefined
)sentenceCase?: boolean
Only capitalize the first word of each sentence (default: false
)sentenceTerminators?: Set<string>
Set of characters to consider a new sentence under sentence case behavior (e.g. .
, default: SENTENCE_TERMINATORS
)smallWords?: Set<string>
Set of words to keep lower-case when sentenceCase === false
(default: SMALL_WORDS
)titleTerminators?: Set<string>
Set of characters to consider a new sentence under title case behavior (e.g. :
, default: TITLE_TERMINATORS
)wordSeparators?: Set<string>
Set of characters to consider a new word for capitalization, such as hyphenation (default: WORD_SEPARATORS
)This package is a pure ESM package and ships with TypeScript definitions. It cannot be require
'd or used with CommonJS module resolution in TypeScript.
MIT
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
security policy file detected
Details
Reason
license file detected
Details
Reason
0 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 2
Reason
dependency not pinned by hash detected -- score normalized to 2
Details
Reason
Found 4/30 approved changesets -- score normalized to 1
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
10 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More