Nukor
Creates and focuses a high-frequency field of microwaves, literally cooking the target from within.
Nukor is a simple file watcher built on the top of @atom/watcher with a filtering module which removes duplicated events.
Table of Contents
Installation
npm install nukor --save
Usage
watchPath()
Create a watcher, start and listen changes by calling const watchPath = ; // Create a new watcher, start and listen changesconst watcher = await ; // Stop the watcherwatcher;
createWatcher()
Create a watcher by calling const Watcher = ; // Create a new watcherconst watcher = ; // Listen to change eventswatcher; // Start the watcherawait watcherstart; // Stop the watcherwatcher;
Watcher
class
Create a watcher by instantiating a const Watcher = ; // Create a new watcherconst watcher = '/path/to/watch'; // Listen to change eventswatcher; // Start the watcherawait watcherstart; // Stop the watcherwatcher;
Author
Alexandre Breteau - @0xSeldszar
License
MIT © Alexandre Breteau