I am very confused on Deno documentation. It has ReadableStream and WritableStream API, but it doesn’t have a documentation to use it. I want to read from ReadableStream and write to WritableStream, how can I do that in Deno? Answer I want to read from ReadableStream and write to WritableStream, how can I do that in Deno? Here’s a basic
Tag: deno
What are the gotchas when converting a T-SQL statement into a JavaScript RegExp
I have a large number of T-SQL statements logged from a server I manage. I’m trying to boil them down to one instance of each. Here’s one of them: I want to convert that to a JavaScript RegExp, substituting runs of digits for d and stuff between apostrophes into ‘.*’. So far I’ve got this far with Deno: This renders
Three different `this` behaviours for three different JS engines
I was learning about the this keyword and how it means different things with regards to regular functions vs ES6 arrow functions and function expressions and I came across something odd when trying to run the following code in Chrome, Deno and Node. So I prepared following: Example: Deno output: Node output: Chrome output: According to my understanding of this,
How to use Google OAuth with Deno js?
Is there some libraries or modules for Google OAuth in Deno.js? I am trying to impelemnt google login on my web application and use this google account for uploading youtube videos in deno.js. I am grateful for any help! Answer I think a generic solution for OAuth doesn’t exist yet. However, if you can override the default implementation, you can