1.1.0 • Published 5 years ago
clibe v1.1.0
clibe ⎇
use any npm library as a cli
install
npm install clibe -gor 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:
helloWorldmoment
npx clibe 'moment' 'format' 'MMMM Do YYYY' 'h:mm:ss a' -i output:
January 11th 2021lodash
npx clibe lodash chunk -a '["a", "b", "c", "d"]' 2output:
[ [ 'a', 'b' ], [ 'c', 'd' ] ]...any other lib you can think of :)