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