file-processor
v0.0.1
Published
A node helper library for processing and aging files within a directory.
Downloads
2
Maintainers
Readme
Process and Monitor Files
Description
Simple file processing, and aging system.
- Monitor method is run
- A file is added to the directory the monitor is watching
- The file is read and processed
- The file is moved to a archive directory after processing
- The archived file is eventually aged off.
Installation
npm install process-and-monitor-files --save
Usage Example
import ProcessFiles from "process-and-monitor-files";
const processFiles = new ProcessFiles({
// options ...
});