0.0.1 • Published 8 years ago

file-processor v0.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

Process and Monitor Files

Build Status

license

Description

Simple file processing, and aging system.

  1. Monitor method is run
  2. A file is added to the directory the monitor is watching
  3. The file is read and processed
  4. The file is moved to a archive directory after processing
  5. 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 ...
});