Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

slugify npm

# 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
 
PREVIOUS NEXT
Tagged: #slugify #npm
ADD COMMENT
Topic
Name
3+4 =