HTML
CSS
PHP
Deno
Examples
Do It Yourself
Blog
Code
Input
Run
const file = await Deno.open('intro.txt'); const decoder = new TextDecoder('utf-8'); const text = decoder.decode(await Deno.readAll(file)); 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 readFile()