weisjohn / slugify-cli-lite

lightweight slugify-cli

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

slugify-cli-lite

slugify for your terminal

Install

$ npm install --global slugify-cli-lite

Usage

This utility supports arguments or pipes. Data sent in via stdin is processed as a list via newlines.

$ slugify Foo Bar
foo-bar
$ slugify "Foo Bar"
foo-bar
$ cat list.txt | slugify
foo-bar
simple-ranch
$ echo "Yay! Piping" | slugify
yay!-piping

Credits

Inspired by slugify-cli but without external deps save for slugify.

License

MIT © John Weis

About

lightweight slugify-cli

License:MIT License


Languages

Language:JavaScript 100.0%