0.3.0 • Published 5 years ago
emphasis v0.3.0
Emphasis
Small function that normalizes a string which does not contain either for emphasis, spaces or special character. Usefull for a clean url.
Usage:
const emphasis = require('emphasis')
const naturalId = emphasis("Asperges blanches sauce printanière, Pâté de Pâques")
// asperges-blanches-sauce-printaniere-pate-de-paques
Todo:
- add tests...