HTML
CSS
PHP
Deno
Examples
Do It Yourself
Blog
Code
Input
Run
// Create a UTF8 decoder const decoder = new TextDecoder('utf-8'); // Read from file and decode const text = decoder.decode(await Deno.readFile('intro.txt')); // Display texts (String) console.log(text)
Related Examples
Deno Example Remove File with remove() and removeSync()
Deno Example Append to File With writeFileStr() Append
Deno Example Read File With open()