🚀 Launch Week Day 2:Introducing Custom Tabs for Org Alerts.Learn More →
Socket
Book a DemoInstallSign in
Socket

slugify-cli

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

slugify-cli

Slugify a string

latest
Source
npmnpm
Version
4.0.0
Version published
Maintainers
1
Created
Source

slugify-cli

Slugify a string

Install

npm install --global slugify-cli

Usage

$ slugify --help

  Usage
    $ slugify <string>

  Options
    --separator=<string>           Word separator [Default: -]
    --no-lowercase                 Don’t make the slug lowercase
    --no-decamelize                Don’t convert camelCase to separate words
    --preserve-leading-underscore  If your string starts with an underscore, it will be preserved in the slugified string

  Examples
    $ slugify 'Déjà Vu!'
    deja-vu
    $ slugify 'Unicorns & Rainbows' --separator='_'
    unicorns_and_rainbows
  • slugify - API for this package

Keywords

cli-app

FAQs

Package last updated on 15 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts