slugify-cli-lite
v1.0.0
Published
slugify for your terminal
Downloads
2
Readme
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