Skip to content

maael/slug-title

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Generate a title from given slug

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published