/slug-title

Generate a title from given slug

Primary LanguageJavaScript

slug-title

Build Status npm

An alternative to Azer's slug-to-title module, as it and one of its dependencies (to-title) were unpublished from npm, which you can read more about here.

This is mostly the same, however published to npm and with to-title swapped out for titlecase.

Install

npm install --save slug-title

Usage

var slugTitle = require('slug-title')
slugTitle('hello-world') // Hello World