Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

read file with deno

// async
console.log(await Deno.readTextFile("./file.txt"));
// synv
console.log(Deno.readTextFileSync("./file.txt"));
 
PREVIOUS NEXT
Tagged: #read #file #deno
ADD COMMENT
Topic
Name
7+9 =