New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

zm-watcher

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zm-watcher

Library provides possibility to watch for new files in ZoneMinder events directory (per camera)

latest
Source
npmnpm
Version
0.0.3
Version published
Maintainers
1
Created
Source

zm-watcher

Library provides possibility to watch for new files in ZoneMinder events directory (per camera). The purposes of this library to trigger new ZM event in real time. For example you can mirror files to another local directory or even to box.com cloud service.

The library was tested with node.js 5 but it should work starting from node.js 0.12.x

Installation

npm install zm-watcher

Usage

var zmwather = require("zmwatcher");

var watcher = zmwatcher.watch("/path/to/events", "HomeCamera", "CorridorCamera", function(path){
    // Here we have path in form "HomeCamera/15/11/05/.../....jpg" - if a new image is placed
});
   
...

// Unwatch when not needed anymore
watcher.unwatch();

Keywords

zoneminder

FAQs

Package last updated on 13 Nov 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts