An open API service indexing awesome lists of open source software.

https://github.com/aburd/titler

Capitalize title strings using the title string and exception words
https://github.com/aburd/titler

Last synced: 5 days ago
JSON representation

Capitalize title strings using the title string and exception words

Awesome Lists containing this project

README

          

require the file then instantiate the variable to use it.

name( title, exceptions )

where

'name' is the var name used with require

'title' (str) - Name of the title

'exceptions' (str) - List of exceptions separated by spaces

ex:

myFunc('a night to remember', 'a to') // returns 'A Night to Remember' *first letter always caps