Skip to content

chatopera/node-readlineq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

readlineq

read or write file by lines with promise.

var readlineq = require('readlineq');
# read lines with Promise
var lines = await readlineq('./tmp/stopwords.txt');
// console.log(lines);

# write lines which is sync by default
readlineq('./tmp/test.txt', ["foo\n", "bar\n"]);
// console.log(lines);

LICENSE

MIT

chatoper banner

About

Read or write file by lines with promise.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published