Install
$ npm i unslugify
Use
import unslugify from "unslugify";
const result = unslugify("my-example-slug");
console.log(result); // My Example Slug
$ npm i unslugify
import unslugify from "unslugify";
const result = unslugify("my-example-slug");
console.log(result); // My Example Slug
npm i unslugify
140
1.0.4
ISC
1.67 kB
6