📅  最后修改于: 2022-03-11 14:51:08.084000             🧑  作者: Mango
# Installation
npm install slugify
const slugify = require('slugify')
slugify('some string') // some-string
// if you prefer something other than '-' as separator
slugify('some string', '_') // some_string