Node.js CLI Apps Best Practices has great guidelines, and some of them, point to some specific library.
-
Command line parsing: Yargs is pirate-themed and recommended by the above guidelines. However,
TiddlyServer
uses Commander.js so that is a sensible choice. -
Prompts: Prompts, with its select (for TiddlyWiki editions) and maybe multi-select (for plugins?). Enquirer also looks good, but it has less stars and weekly downloads.
-
Colors: KLEUR, since it is already used by Prompts.
Went for StandardJS, although I am aware that it clashes with [TiddlyWiki Coding Style Guidelines]https://tiddlywiki.com/dev/#TiddlyWiki%20Coding%20Style%20Guidelines, that demand double quotes and 4 spaces for indentation