running rockstar on input

This commit is contained in:
Joshua Seigler 2020-12-06 15:26:29 -05:00
commit 0f5c35af68
24 changed files with 536 additions and 0 deletions

14
node_modules/n-readlines/example.js generated vendored Normal file
View file

@ -0,0 +1,14 @@
'use strict';
const lineByLine = require('./readlines.js');
const liner = new lineByLine('./test/fixtures/normalFile.txt');
let line;
let lineNumber = 0;
while (line = liner.next()) {
console.log('Line ' + lineNumber + ': ' + line.toString('ascii'));
lineNumber++;
}
console.log('end of line reached');