@themaymeow/transliterator
v1.0.2
Published
Small javascript library for transliterate and slugify accented languages.
Downloads
5
Readme
Transliterate
Small transliteration library which solwing problem when you trying to create slug from accented languages like Slovak or Czech.
Usage
Installation
# Hugo by default dont need NPM
npm init
npm i @themaymeow/transliterator
Use it in your own script
const { slugify } = require('@themaymeow/transliterator/transliterator.js')
let slug = slugify("Your text");
// your-text
if you want to append random string suffix v1.0.1+
you can do this as follows
// ...
let slug = slugify("Your text", true);
// your-text-a1s223de