The fs module is a standard library in deno. We will take a look at adding it to a deno application to perform different file system actions such as making folders, files, reading json and more. Be aware the the fs deno module requires the unstable flag with the allow-read and allow-write flags to operate properly.

  • Adding the FS module
  • Creating an empty directory
  • Replacing an empty directory
  • Moving a directory or file
  • Checking if a directory or file exists
  • Reading and writing JSON files
  • Reading and writing any files as strings

Deno FS
https://deno.land/std/fs/

Deno
https://deno.land/

#deno #node #javascript #typescript #web-development

Deno FS Tutorial
24.90 GEEK