slug-title

Generate a title from given slug

Usage no npm install needed!

<script type="module">
  import slugTitle from 'https://cdn.skypack.dev/slug-title';
</script>

README

slug-title

Build Status

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