Hacker News new | ask | show | jobs
Synchronous line-by-line file reader for Node.js (github.com)
3 points by nacholibrev 4170 days ago
1 comments

Reading file line by line may seem like a trivial problem, but in node, there is no straightforward way to do it. There are a lot of libraries using Transform Streams to achieve it, but it seems like a overkill, so I've wrote simple version using only the filesystem module of node.