ES6-style JS "read lines" Inspired by Hackerrank Solve me first challenge. Build & test npm install --save-dev npm test Use Submission at Hackerrank References ES6 generator for Hackerrank by depeele My rework of the above These both depend on synchronous reading from a low-level stream's fd. Anyway, works: submission