slug-title
v1.0.0
Published
Generate a title from given slug
Downloads
5
Readme
slug-title
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 slugTitle
Usage
var slugTitle = require('slugTitle')
slugTitle('hello-world') // Hello World