Working on API surface.

This commit is contained in:
Joshua Bemenderfer
2022-11-12 21:30:22 -05:00
parent a0791b0c69
commit 28de2a8e20
18 changed files with 325 additions and 162 deletions

View File

@@ -0,0 +1,10 @@
const e = {};
function n(t) {
const a = e.createInterface({
input: e.createReadStream(t, "utf-8")
})[Symbol.asyncIterator]();
return async () => (await a.next()).value;
}
export {
n as createReadlineReader
};