Open ryanwersal opened 5 years ago
More reading, this one probably contains the best content so far https://www.codementor.io/mattgoldspink/nodejs-best-practices-du1086jja
Random thoughts and discoveries: Seemingly most popular testing framework options: jest, mocha, jasmine CLI arg parsing: commander.js, yargs, minimist (minimist seems meh) Code formatting: prettier (like black for python https://prettier.io/)
A new "awesome list" was released for Node CLI best practices and I've tinkered with oclif
and ink
to success so I'm inclined to go that route.
Definite 👍 for using Jest for testing and Prettier for formatting.
For this project, we're looking to have a modern CLI using modern Node libraries, tooling, and language features.
To me (totally up for debate/discussion), this means:
And probably more.