
Node.js Cookbook
Practical recipes for building server-side web applications with Node.js 22
Packt Publishing
5th Edition
Published on 15. November 2024
Book
Paperback/Softback
456 pages
978-1-80461-981-0 (ISBN)
Description
Master Node.js 22 through expert-led recipes in async programming, app development, Fastify, modules, testing, debugging, and optimization
Key Features
Explore the latest Node.js 22 features to stay at the forefront of modern development
Learn to build, debug, and deploy Node.js applications flawlessly
Gain expertise in Fastify Web Framework, Node.js module creation, and advanced testing techniques
Purchase of the print or Kindle book includes a free PDF eBook
Book DescriptionNode.js is a game-changing technology for building modern web applications and tooling, bringing the power of JavaScript to the server and enabling full-stack development in a unified language. This updated edition of this Node.js cookbook, featuring Node.js 22, equips you with the latest advancements and enhancements in the Node.js framework ecosystem.
From Bethany Griggs, who has served on the Node.js Technical Steering Committee and participated in the Node.js Release Working Group, and Manuel Spigolon, a core maintainer of Fastify, comes this fifth edition of the Node.js Cookbook to help you master Node.js 22. This book guides you step by step through crafting reusable code with Node.js modules, streamlining development using the Fastify web framework, and implementing data persistence in databases and rigorous testing practices for robust applications. You'll address security concerns, optimize performance with worker threads, deploy Node.js microservices using containerization and orchestration, and tackle troubleshooting with effective debugging strategies.
Packed with real-world examples, this guide empowers you to harness Node.js 22's full potential for creating secure, performant, and dynamic applications.What you will learn
Grasp Node.js' async/sync programming to optimize code execution
Build your coding skills from scratch by creating basic Node.js apps
Debug and troubleshoot Node.js apps proficiently, ensuring smooth functionality
Deploy apps confidently to production, reaching a wider user base
Harness Fastify for web development to craft efficient frameworks
Develop Node.js modules and enhance code reusability and project structure
Who this book is forIf you have basic knowledge of JavaScript or another programming language and want to build a solid understanding of Node.js, this book is for you. It provides the foundational knowledge you need to navigate the Node.js and npm ecosystem and start building applications. For readers with some Node.js experience, it offers the opportunity to deepen and expand their skills, while beginners can use practical recipes to quickly acquire a strong foundation in Node.js concepts and features.
Key Features
Explore the latest Node.js 22 features to stay at the forefront of modern development
Learn to build, debug, and deploy Node.js applications flawlessly
Gain expertise in Fastify Web Framework, Node.js module creation, and advanced testing techniques
Purchase of the print or Kindle book includes a free PDF eBook
Book DescriptionNode.js is a game-changing technology for building modern web applications and tooling, bringing the power of JavaScript to the server and enabling full-stack development in a unified language. This updated edition of this Node.js cookbook, featuring Node.js 22, equips you with the latest advancements and enhancements in the Node.js framework ecosystem.
From Bethany Griggs, who has served on the Node.js Technical Steering Committee and participated in the Node.js Release Working Group, and Manuel Spigolon, a core maintainer of Fastify, comes this fifth edition of the Node.js Cookbook to help you master Node.js 22. This book guides you step by step through crafting reusable code with Node.js modules, streamlining development using the Fastify web framework, and implementing data persistence in databases and rigorous testing practices for robust applications. You'll address security concerns, optimize performance with worker threads, deploy Node.js microservices using containerization and orchestration, and tackle troubleshooting with effective debugging strategies.
Packed with real-world examples, this guide empowers you to harness Node.js 22's full potential for creating secure, performant, and dynamic applications.What you will learn
Grasp Node.js' async/sync programming to optimize code execution
Build your coding skills from scratch by creating basic Node.js apps
Debug and troubleshoot Node.js apps proficiently, ensuring smooth functionality
Deploy apps confidently to production, reaching a wider user base
Harness Fastify for web development to craft efficient frameworks
Develop Node.js modules and enhance code reusability and project structure
Who this book is forIf you have basic knowledge of JavaScript or another programming language and want to build a solid understanding of Node.js, this book is for you. It provides the foundational knowledge you need to navigate the Node.js and npm ecosystem and start building applications. For readers with some Node.js experience, it offers the opportunity to deepen and expand their skills, while beginners can use practical recipes to quickly acquire a strong foundation in Node.js concepts and features.
More details
Edition
5th Revised edition
Language
English
Place of publication
Birmingham
United Kingdom
Target group
Professional and scholarly
US School Grade: College Graduate Student
Edition type
Revised edition
Dimensions
Height: 235 mm
Width: 191 mm
Thickness: 24 mm
Weight
845 gr
ISBN-13
978-1-80461-981-0 (9781804619810)
Copyright in bibliographic data and cover images is held by Nielsen Book Services Limited or by the publishers or by their respective licensors: all rights reserved.
Schweitzer Classification
Other editions
Additional editions

Bethany Griggs | Manuel Spigolon
Node.js Cookbook
Practical recipes for building server-side web applications with Node.js 22
E-Book
01/2025
5th Edition
Packt Publishing
€25.99
Available for download
Persons
Bethany Griggs is a senior software engineer at Red Hat. With a strong background in software engineering, Bethany has been actively involved in the Node.js community since 2016. She began her career with Node.js at IBM as part of their Node.js Runtime Team, contributing to the project's growth and stability by serving on the Node.js Technical Steering Committee and being an active member of the Node.js Release Working Group.
Bethany is committed to the stability and growth of open source technologies and their communities. A frequent speaker at industry conferences, she shares insights on Node.js and software development. She aims to continue to enhance developer experiences, driving innovation while maintaining the robustness and stability of the tools and platforms. Manuel Spigolon is a senior backend developer at NearForm. He is one of the core maintainers on the Fastify team. Manuel has developed and maintained a complex API that serves millions of users worldwide. He is a conference speaker and content writer at the Backend Cafe blog.
Bethany is committed to the stability and growth of open source technologies and their communities. A frequent speaker at industry conferences, she shares insights on Node.js and software development. She aims to continue to enhance developer experiences, driving innovation while maintaining the robustness and stability of the tools and platforms. Manuel Spigolon is a senior backend developer at NearForm. He is one of the core maintainers on the Fastify team. Manuel has developed and maintained a complex API that serves millions of users worldwide. He is a conference speaker and content writer at the Backend Cafe blog.
Content
Table of Contents
Introducing Node.js 22
Interacting with the File System
Working with Streams
Using Web Protocols
Developing Node.js Modules
Working with Fastify - The Web Framework
Persisting to Databases
Testing with Node.js
Dealing with Security
Optimizing Performance
Deploying Node.js Microservices
Debugging Node.js
Introducing Node.js 22
Interacting with the File System
Working with Streams
Using Web Protocols
Developing Node.js Modules
Working with Fastify - The Web Framework
Persisting to Databases
Testing with Node.js
Dealing with Security
Optimizing Performance
Deploying Node.js Microservices
Debugging Node.js