Skip to content

tool3/clibe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

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", "b", "c", "d"]' 2

output:

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

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

About

⎇ use any npm library as a cli

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published