https://github.com/tool3/clibe
⎇ use any npm library as a cli
https://github.com/tool3/clibe
cli library npm
Last synced: about 1 month ago
JSON representation
⎇ use any npm library as a cli
- Host: GitHub
- URL: https://github.com/tool3/clibe
- Owner: tool3
- License: mit
- Created: 2021-01-10T12:39:35.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-15T15:41:02.000Z (over 5 years ago)
- Last Synced: 2025-10-17T10:11:36.029Z (8 months ago)
- Topics: cli, library, npm
- Language: JavaScript
- Homepage:
- Size: 531 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# clibe ⎇
use any npm library as a cli
# install
```bash
npm install clibe -g
```
or see usage below for running with `npx`
# usage
```bash
npx clibe [command] [args..]
```
for example
```bash
clibe 'lib-name' 'some-command' 'args' 'for' 'command'
```
# example
## gradient-string
```bash
npx clibe 'gradient-string' 'teen' 'HELLO WORLD'
```
output:

## voca
```bash
npx clibe 'voca' 'camelCase' 'hello world'
```
output:
```
helloWorld
```
## moment
```bash
npx clibe 'moment' 'format' 'MMMM Do YYYY' 'h:mm:ss a' -i
```
output:
```
January 11th 2021
```
## lodash
```bash
npx clibe lodash chunk '["a", "b", "c", "d"]' 2
```
output:
```
[ [ 'a', 'b' ], [ 'c', 'd' ] ]
```
...any other lib you can think of :)