This book is about shell scripting with Node.js. You will learn:
How Node.js works:
- Its foundations: its architecture, its event loop, etc.
- Its API: How to use its global variables and modules.
What are npm packages (the de-facto standard for JavaScript packages) are.
How to use npm (the package manager bundled with Node.js) to:
Install and manage packages.
Create and publish packages.
- How to write cross-platform package scripts for running development tasks such as generating artifacts and running tests.
- How to use all of the aforementioned knowledge to create and deploy cross-platform shell scripts.
What knowledge is required to read this book?
You should be familiar with JavaScript – especially:
- ECMAScript modules: importing and exporting values, etc.
- Asynchronous JavaScript: Promises, async functions, etc.
My book on JavaScript, “JavaScript for impatient programmers” is free to read online:
- It has a chapter on modules.
- It covers asynchronous JavaScript in a series of chapters, starting with “Asynchronous programming in JavaScript”.