1.0.0 • Published 6 years ago

slugify-cli-lite v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

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