1.3.1 • Published 7 years ago

@mapbox/title-case v1.3.1

Weekly downloads
-
License
MIT
Repository
github
Last release
7 years ago

title-case

Contains multilingual configuration for adjusting capitalization on address data.

Usage

Pairs with pt2itp:

const titlecase = require('@mapbox/title-case')('en');

Returns an object containing:

minors - array of strings that should not be adjusted by titlecasing algorithm

pre - array of functions to run against the string prior to titlecasing

post - array of functions to run against the string after titlecasing

1.3.1

7 years ago

1.3.0

7 years ago

1.2.2

8 years ago

1.2.1

8 years ago

1.2.0

8 years ago

1.1.0

8 years ago

1.0.0

8 years ago