1.1.0 • Published 3 years ago

clibe v1.1.0

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

clibe ⎇

use any npm library as a cli

install

npm install clibe -g

or see usage below for running with npx

usage

npx clibe <lib-name> [command] [args..]

for example

clibe 'lib-name' 'some-command' 'args' 'for' 'command'

example

gradient-string

npx clibe 'gradient-string' 'teen' 'HELLO WORLD'

output:
npm.io

voca

npx clibe 'voca' 'camelCase' 'hello world'

output:

helloWorld

moment

npx clibe 'moment' 'format' 'MMMM Do YYYY' 'h:mm:ss a' -i 

output:

January 11th 2021

lodash

npx clibe lodash chunk -a '["a", "b", "c", "d"]' 2

output:

[ [ 'a', 'b' ], [ 'c', 'd' ] ]

...any other lib you can think of :)

1.1.0

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago