read-first-file
v0.0.4
Published
Read the frist file from a directory.
Downloads
88
Maintainers
Readme
read-first-file
Read the frist file from a directory.
Installation
npm install read-first-file
Usages
const readfirst = require("read-first-file");
readfirst("/foo/bar/", {
onFileContent: function (filename, content) {
console.log(content);
},
});
Related
- a-read-files - Read files from a directory.
License
Copyright (c) 2020 dailyrandomphoto. Licensed under the MIT license.