This package has been deprecated

Author message:

Use of this package is not recommended

regmon

1.0.1 • Public • Published

A NAPI Native C++ Addons to monitor Windows Registry changes using RegNotifyChangeKeyValue

Example

const regmon = require("regmon");

let monitor = regmon("HKCU","Software/Microsoft/Windows/CurrentVersion/Run",function(){
  console.log("Registry change detected !");
  monitor.close(); //stop monitoring
});

API

function(hkey, subkey, callback)

hkey: Root hive key, possible values are HKCR, HKCU, HKLM, HKU, HCC
subkey: Registry subkey
callback: Callback function to execute on monitored registry key change

Return an object containing a close method to stop the monitoring

Installation

npm install regmon

You will need C/C++ build tools and Python 2.7(node-gyp) to build this module.

Friendly Note

This is my first C++ addon for Node.js 🤗

/regmon/

    Package Sidebar

    Install

    npm i regmon

    Weekly Downloads

    0

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    11.5 kB

    Total Files

    7

    Last publish

    Collaborators

    • xan105