Chapter 10. Practical Node
While Node’s core modules are designed to help us create backend services, their flexibility, asynchronous APIs, and easy integration with external environments make Node a great environment to run tools that help with development workflows on both the backend and the frontend. In this chapter, we’ll explore some of these tools and understand their roles in building, testing, deploying, and maintaining Node projects.
These tools range from small libraries that focus on a few tasks to big frameworks that can be used for full stack development. For each specific task, there are many tools that you can use. In this chapter, I’ll focus on the most popular tools and provide an overview of their value and the basics of how to use them.
We’ll talk about code quality tools, module bundlers, task runners, web frameworks, and JavaScript extensions and transpilers.
Code Quality Tools
In Chapter 1, we reviewed a few Node tools that can be used to assist in the lifecycles of an application. Let’s expand on two of the most important ones when it comes to code quality, Prettier and ESLint.
Because of the great value these tools add to a project, I would argue that no Node project should be built without them. They are simple and easy to integrate into a Node project, and with them you make faster progress and write cleaner code with consistent standards. Why would anyone not use something that makes them faster and better?
Prettier is used to automate the formatting ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access