samedi 28 février 2015

What is the most efficient way to read only the first line of a file in Node JS?

Imagine you have many long text files, and you need to only extract data from the first line of each one (without reading any further content). What is the best way in Node JS to do it?


Thanks!


Aucun commentaire:

Enregistrer un commentaire