Chapter 2: The Toolchain
Now that we're familiar with evented languages, Node's history, and the reasons that led to Deno, we're in good shape to start writing some code.
In this chapter, the first thing we'll do is set up the environment and code editor. We'll proceed by writing our first Deno program and using the REPL to experiment with the runtime APIs. Then, we'll explore the module system and how Deno cache and module resolution works with practical examples. We'll understand versioning, and we'll also learn how to handle third-party dependencies. Then, we'll use the CLI to explore packages and their documentation, as well as how to install and reuse Deno scripts.
After running and installing a few scripts, we'll dive into permissions ...
Get Deno Web Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.