Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 419 Bytes

README.md

File metadata and controls

36 lines (25 loc) · 419 Bytes

Slugify

An lib and cli to slugify a string.

As CLI

Usage

deno main.js "Somê text with Letters' and spaces?"

Will output

some-text-with-letters-and-spaces

Compile to self-contained executable

deno compile main.js

As library

Install pakage from JSR.

# Deno
deno add jsr:@baldir/slugify
# Npm
npx jsr add @baldir/slugify
# Bun
bunx jsr add @baldir/slugify