hexrcs / 201911-tsberlin-node-cli-talk

Slides and demo code of my CLI talk at TypeScript Berlin

Home Page:https://tsberlin-node-cli-talk.netlify.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Delightful Command-Line Interfaces with Node and Ink 🌈

Slides hosted live at https://tsberlin-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.

Usage

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.

Stuff Used

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.

Links and Acknowledgements

NPM modules

Articles

Images

License

The source code inside this repository is released under the GPL-3.0 license.

The content of deck.mdx file is released under the CreativeCommons - Attribution-NonCommercial-ShareAlike 4.0 International license.

About

Slides and demo code of my CLI talk at TypeScript Berlin

https://tsberlin-node-cli-talk.netlify.com/

License:Other


Languages

Language:JavaScript 100.0%