Автор: Jana Bergant
Издательство: Leanpub
Год: 2020-07-01
Язык: английский
Формат: pdf (true), mobi, epub
Размер: 18.2 MB
Deno book is a complete guide to programming with Deno.
Deno is a runtime for jаvascript and TypeScript that is based on the V8 jаvascript engine and the Rust programming language. It was created by Ryan Dahl, original creator of Node.js, and is focused on productivity. Deno is not a fork of Node — it’s entirely a newly written implementation. Deno aims to be a productive scripting environment for the modern programmer. Similar to Node.js, Deno emphasizes event-driven architecture, providing a set of non-blocking core IO utilities, along with their blocking versions.
For application developers, there are several noticeable differences between Deno and Node.js. Unlike the modular binaries in Node.js, Deno is a single binary application. It doesn't make use of complex dependency management solutions like the NPM. Instead, developers declare dependencies in source code using direct URLs. There are already over 500 third-party Deno modules available. Also in contrast to Node.js, the Deno runtime is secure by default. If the application needs to access the file system or network, the developer will need to declare that explicitly.
Secure by default. No file, network, or environment access, unless explicitly enabled.
Supports TypeScript out of the box.
Ships only a single executable file.
Has built-in utilities like a dependency inspector (deno info) and a code formatter (deno fmt).
Has a set of reviewed (audited) standard modules that are guaranteed to work with Deno: deno.land/std
You'll start with the basics and gain knowledge about how Deno works behind the scene. You'll create projects and learn by doing.
Скачать Deno - A Complete Guide to Programming With Deno