📜  slugify npm - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:08.084000             🧑  作者: Mango

代码示例1
# 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