Skip to content

vslinko/deno-readline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deno-readline

Readline implementation for https://deno.land/.

Usage

import { readline } from "https://deno.land/x/readline@v1.1.0/mod.ts";

const f = await Deno.open("./example.ts");
for await (const line of readline(f)) {
  console.log(`line: ${new TextDecoder().decode(line)}`);
}
f.close();

About

Readline implementation for Deno

Resources

Stars

Watchers

Forks

Packages

No packages published