0.2.6 • Published 2 years ago

@camol/winreg-rs v0.2.6

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

winreg-rs

writen by rust and winreg

install

yarn add @camol/winreg-rs

usage

getKeyValue(key: string, name: string): string | null

const { JsRegistry, HKLM } = require("@camol/winreg-rs");

const registry = new JsRegistry(HKLM);

const value = registry.getKeyValue("Software\\Classes\\.docx","")
console.log({value})

getValues(key: string): string[] | null

const { JsRegistry, HKLM } = require("@camol/winreg-rs");

const registry = new JsRegistry(HKLM);

const values = registry.getValues("Software\\Classes\\.docx")
console.log({values})

getKeys(key: string): string[] | null

const { JsRegistry, HKLM } = require("@camol/winreg-rs");

const registry = new JsRegistry(HKLM);

const keys = registry.getKeys("Software\\Classes\\.docx")
console.log({keys})
0.2.6

2 years ago

0.2.5

2 years ago

0.2.4

2 years ago

0.2.3

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.1

2 years ago