file-reader-py
v1.0.0
Published
Module for reading a list of files in path
Downloads
6
Readme
file-reader-py
Module for reading a list of files in path
Usage:
readFiles(path, callback) - Reads files from path and redirects results to callback
Example:
const readFiles = require("../file-reader")
readFiles("K:/", (data) => {
console.log(data.path);
console.log(data.filesCount);
console.log(data.filesPaths);
})Function returns an object with:
path- path that was searched,filesCount- number of found files,filesPaths- an array with paths to found files.
