writen by rust and winreg
yarn add @camol/winreg-rs
const { JsRegistry, HKLM } = require("@camol/winreg-rs");
const registry = new JsRegistry(HKLM);
const value = registry.getKeyValue("Software\\Classes\\.docx","")
console.log({value})
const { JsRegistry, HKLM } = require("@camol/winreg-rs");
const registry = new JsRegistry(HKLM);
const values = registry.getValues("Software\\Classes\\.docx")
console.log({values})
const { JsRegistry, HKLM } = require("@camol/winreg-rs");
const registry = new JsRegistry(HKLM);
const keys = registry.getKeys("Software\\Classes\\.docx")
console.log({keys})