0.4.2 • Published 5 months ago

proper-name-fixifier v0.4.2

Weekly downloads
24
License
MIT
Repository
-
Last release
5 months ago

proper-name-fixifier

NPM Version NPM Downloads

A Javascript/TypeScript-friendly library for fixing the capitalization of people's names, but only if they're all upper or lower case. For the most part we don't what to change what a person does since there are A LOT of possibilities.

I highly encourage everyone to look into the test file for a more exhaustive list of test cases. The test also pulls in names from the 116th US Congress (theres over 500 names in there with various languages, accents marks, titles, and even nicknames).

Influenced by Perl's Lingua-EN-NameCase module and Emgee's namecase

Usage

import * as fixifier from 'proper-name-fixifier';

const name = fixifier.fixCase('johnny mnemonic');
// name = Johnny Mnemonic
0.4.2

5 months ago

0.4.1

1 year ago

0.4.0

3 years ago

0.3.3

4 years ago

0.3.2

4 years ago

0.3.0

4 years ago

0.3.1

4 years ago

0.2.0

4 years ago

0.1.0

4 years ago