Explore the complete landscape of tooling available with Node.js for building complete web applications
Key Features
- Full learning material on Node.js incl. some internals with a focus on frontend development
- Overview of the whole npm frontend ecosystem - tooling, usage, and dev process
- Learn about crucial development concepts such as mono repos or publishing libraries
Book Description
Almost a decade after releasing Node.js, the tooling used by frontend developers is fully embracing the cross-platform JavaScript runtime. In this book, you'll learn to leverage Node.js to the maximum for creating frontend applications.
After learning the basics and internals of Node.js, you will be ready to divide your code into modules and packages. You'll get to know the most popular package managers and their areas of use. Likewise, you'll also learn how different flavors of JavaScript, such as TypeScript, can be used with Node.js. The right tooling is crucial, which is why you'll dive into all of the available state of the art tools. You'll get in touch with linters such as eslint or formatters like Prettier. No matter if you have never heard of a bundler or call yourself a Webpack wizard - the section about bundlers will teach you everything you need to know about the Swiss army knife of frontend development: bundlers. For code quality verification, you'll also get in touch with a variety of testing utilities like Jest.
In the final part of the book, you'll see how easy it is to publish your code in reusable packages. Finally, you'll also become an expert in choosing the right code structure for your repositories by learning about monorepos.
What you will learn
- Hands-on experience in developing a frontend application with Node.js-based tools and libraries
- Using bundlers such as Webpack to create efficient web applications
- Leverage test runners like Jest to ship reliable software
- Organize code repositories to work in close collaboration with other developers and teams
- How to publish npm packages to make code reuse much simpler
- Improve code quality by enabling consistent formatting using Prettier
Who This Book Is For
This book is for junior and intermediate frontend web professionals who are looking to leverage the Node.js ecosystem. The minimum requirement is a solid knowledge of JavaScript (using the ES6 standard) and a bit of knowledge of using the standard shell (sh). Knowledge of HTML and CSS is expected, even though not required in great detail.
Table of Contents
- Learning the Internals of Node.js
- Dividing Code into Modules and Packages
- Choosing a Package Manager
- Using Different Flavors of JavaScript
- Enhancing code quality with linters and Formatters
- Building web apps with bundlers
- Improving reliability with testing tools
- Publishing npm packages
- Structuring code in monorepos
- Integrating native code with WebAssembly