Best of Deno — November 2023
- 1
- 2
Deno·2y
Deno 1.38: HTML doc generator and HMR
Deno 1.38 introduces significant improvements to the 'deno doc' command, including the ability to generate static site documentation using the 'deno doc --html' feature. It also adds support for Hot Module Replacement (--unstable-hmr), improves Node.js compatibility, and introduces a faster JSX transform. Other updates include enhancements to the Deno API, WebSocket improvements, improvements to the VSCode extension and language server, and updates to the Jupyter Notebook and Standard Library. Deno 1.38 also includes performance improvements and V8 12.0.
- 3
SitePoint·2y
How to use the Fetch API in Node.js, Deno, and Bun — SitePoint
Learn how to use the Fetch API in Node.js, Deno, and Bun. Fetch API is a native alternative to XMLHttpRequest for making HTTP requests in browsers and server-side code. The API is identical across platforms, but there are some restrictions when making client-side fetch requests. You can manipulate and examine HTTP headers in the request and response using a Headers object. Fetch requests can be customized using options such as method, headers, and credentials. The fetch() promise resolves even if the server returns a 404 error. Aborting fetch requests can be done using an AbortController or AbortSignal. Making fetch requests in series may not be efficient, consider using Promise.allSettled() for concurrent requests.