Slides hosted live at https://kajs-node-cli-talk.netlify.com/ 😁
Ping me on Twitter @hexrcs if you've got any questions, corrections or suggestions for improvements!
Text based CLI tools are wonderful. They are fast, lightweight, and universally accessible. Best of all - building them in modern JavaScript is a delightful experience.
After a quick overview of the history of CLI tools and how they really work, you will be introduced to the Node.js ecosystem for building CLI tools. We will then take a deeper look at Ink v2 - a super awesome library that allows us to use React and Flexbox to create complex, dynamic, and interactive command-line interfaces.
Use npm start
to spin up a local dev server for the slides. You have to be connected to the Internet for the emojis to load. :)
There are 2 demos you can fire up with npm run counter
and npm run wiki
.
Slides made with the amazing mdx-deck
. Colorful emojis powered by react-emoji-render
, because the way emojis get rendered is so inconsistent across platforms, and I don't want to discriminate any computers. :D
Fonts are Fira Sans and Fira Code. I can't live without ligatures nowadays.
NPM modules
Articles
- Awesome List - Node CLI utils
- More about ANSI escape code
- A great article on building vanilla CLI tools with Python
Images