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

inotifywatch

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

inotifywatch

inotify based file/folder watcher

latest
Source
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

inotifywatch

File/folder watcher based on inotify.

Install

npm install inotifywatch

Example

var inotifywatch = require('inotifywatch');

/* watcher is an EE */

var watcher = inotifywatch('.', function (event, data) {
  // you can use a callback here to capture all events
  console.log(event, data);
});
// or register for events
watcher.on('create', function (data) {
  if (data === 'close.txt')
    watcher.close();
});

FAQs

Package last updated on 31 Jan 2013

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