use any npm library as a cli
npm install clibe -g
or see usage below for running with npx
npx clibe <lib-name> [command] [args..]
for example
clibe 'lib-name' 'some-command' 'args' 'for' 'command'
npx clibe 'gradient-string' 'teen' 'HELLO WORLD'
npx clibe 'voca' 'camelCase' 'hello world'
output:
helloWorld
npx clibe 'moment' 'format' 'MMMM Do YYYY' 'h:mm:ss a' -i
output:
January 11th 2021
npx clibe lodash chunk '["a", "b", "c", "d"]' 2
output:
[ [ 'a', 'b' ], [ 'c', 'd' ] ]
...any other lib you can think of :)