Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/peti/titlecase
Capitalize all English words except articles, coordinating conjunctions, and prepositions (unless they begin or end the title).
https://github.com/peti/titlecase
Last synced: 10 days ago
JSON representation
Capitalize all English words except articles, coordinating conjunctions, and prepositions (unless they begin or end the title).
- Host: GitHub
- URL: https://github.com/peti/titlecase
- Owner: peti
- License: bsd-3-clause
- Created: 2016-10-27T15:52:21.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-01-16T13:41:40.000Z (almost 2 years ago)
- Last Synced: 2024-10-03T02:23:04.898Z (about 1 month ago)
- Language: Haskell
- Homepage: http://hackage.haskell.org/package/titlecase
- Size: 44.9 KB
- Stars: 5
- Watchers: 4
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Titlecase Library for Haskell
[![hackage release](https://img.shields.io/hackage/v/titlecase.svg?label=hackage)](http://hackage.haskell.org/package/titlecase)
[![stackage LTS package](http://stackage.org/package/titlecase/badge/lts)](http://stackage.org/lts/package/titlecase)
[![stackage Nightly package](http://stackage.org/package/titlecase/badge/nightly)](http://stackage.org/nightly/package/titlecase)
[![CI Status](https://github.com/peti/titlecase/actions/workflows/haskell-ci.yml/badge.svg)](https://github.com/peti/titlecase/actions/workflows/haskell-ci.yml)This library offers fairly robust `titlecase` function to capitalize a string
to English Title Case. Unlike `toTitle` from the `text` library -- which simply
capitalizes the first letter of every word -- this function respects rules with
regard to articles, conjunctions, and prepositions.It is available from Hackage at .