file-processor

0.0.1 • Public • Published

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 ...
});

Package Sidebar

Install

npm i file-processor

Weekly Downloads

1

Version

0.0.1

License

MIT

Last publish

Collaborators

  • kmgilbert