Publisher's Synopsis
Programming with Deno 2
A New Approach to JavaScript/TypeScript Development
Key FeaturesModern & Secure Runtime: Harness Deno's built-in security model and permission flags to build safe, sandboxed JavaScript and TypeScript apps.
TypeScript-Ready: Full TS functionality out of the gate, without any transpile or config hassle.
All-in-One Toolchain: From formatter (deno fmt) and linter (deno lint) to test runner and bundler, enjoy a single, unified developer experience.
Framework Integrations: Step-by-step guides for Fresh, React, and Material UI, plus real-world examples of IoT, AI, WASM, and FFI.
Hands-On Projects: Build end-to-end applications-HTTP servers with Oak, SQLite/MySQL/MongoDB backends, WebSockets, AI chatbots, and more.
In this digital era of rapidly evolving web technologies, Programming with Deno 2 invites you to explore the next generation of JavaScript and TypeScript runtime. Blending the power of TypeScript's static type system with Deno's revolutionary security and tooling, this book takes you from installation to advanced real-world applications.
You'll learn core Deno concepts-installation, REPL, permissions, and asynchronous programming-then dive into practical projects: building HTTP servers, interacting with various databases, integrating React and Material UI, deploying Fresh applications, leveraging WebSockets, and even combining AI or IoT with Deno. Each chapter is enriched with code samples, best practices, and step-by-step walkthroughs so you can put theory into practice from day one.
What You Will LearnHow to install, configure, and use Deno's unified toolchain.
Master TypeScript in the Deno ecosystem: types, modules, interfaces, and more.
Secure your applications with Deno's permission flags and sandboxing.
Write clean, formatted code with `deno fmt`, lint with `deno lint`, and type-check with `deno check`.
Build full-stack apps using Oak, SQLite, MySQL, MongoDB, React, and Material UI.
Create high-performance modules with WASM and extend Deno via FFI.
Develop real-world projects, such as file downloaders, database-backed web services, GUI apps, chatbots, IoT controllers, and AI integrations.
Newcomers to Deno who want a structured, end-to-end tutorial covering everything from basics to advanced techniques.
JavaScript/TypeScript developers seeking a modern, secure alternative to Node.js.
Full-stack engineers interested in building high-performance web services and GUIs with a single runtime.
IoT & AI enthusiasts looking for lightweight, secure tooling to prototype and deploy edge devices or intelligent applications.
What Is Deno?
Deno Installation
TypeScript with Deno
Security and Permissions
Asynchronous Programming
Metadata
Package Manager
Import Map Usage
Code Analysis and Formatting
Deno Standard Library
Hands-On Projects
Data Analysis
React and Material UI Integration
Fresh Web Framework
WebSockets
AI Integration
Internet of Things (IoT)
JavaScript Registry (JSR) Publishing
Bundling Applications
Compiling with Deno
Foreign Function Interface (FFI)
WebAssembly (WASM) with Deno