Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/weisjohn/slugify-cli-lite
lightweight slugify-cli
https://github.com/weisjohn/slugify-cli-lite
Last synced: about 1 month ago
JSON representation
lightweight slugify-cli
- Host: GitHub
- URL: https://github.com/weisjohn/slugify-cli-lite
- Owner: weisjohn
- License: mit
- Created: 2018-06-04T15:49:51.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-06-04T17:56:30.000Z (over 6 years ago)
- Last Synced: 2024-11-09T21:48:52.915Z (about 2 months ago)
- Language: JavaScript
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# slugify-cli-lite
slugify for your terminal
## Install
```bash
$ 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.
```bash
$ 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`](https://www.npmjs.com/package/slugify-cli) but without external deps save for [`slugify`](http://npm.im/slugify).
## License
MIT © [John Weis](https://johnweis.com)