Skip to content

How To Read and Write Files In Deno

Nov 18, 2020

This post will show you how to read a file in Deno as well as how to write a file in Deno.

Reading Files In Deno

Reading files in Deno can be very easy, especially if all you need to do is access the contents as a string. Because we have "top level await" or the ability to await in the root of a file, we just need to await a Deno.readTextFile. Check it out. Where "filename" is a string path to a file.

```js const filename = "./text.txt"; const file = await...

User photo avatar
Created By

Scott Tolinski

Announcing How To Build a GraphQL API

Mar 04, 2020

Level Up is excited to announce “How to Make a GraphQL API,” January’s Pro course that teaches you everything you need to know about GraphQL and the tech that links to it.

With 23 videos, it’s a project-oriented course that covers all of the foundational skills necessary for GraphQL proficiency. You can follow along with Scott as he builds the world’s best kung-fu movie API, or you...

User photo avatar
Created By

Scott Tolinski

React Spring to Framer Motion Conversion

Feb 13, 2020

User photo avatar
Created By

Scott Tolinski

DataURIs & Animation Jank

Feb 13, 2020

User photo avatar
Created By

Scott Tolinski

How Level Up Animates Transitions with React Spring

Sep 04, 2018

How Level Up Animates Transitions with React Spring

User photo avatar
Created By

Scott Tolinski