windows-native-registry
TypeScript icon, indicating that this package has built-in type declarations

3.2.2 • Public • Published

windows-native-registry

Node CI

  • No external processes.
  • Node-API
  • Electron ready
export interface RegistryValue {
    name: string
    type: REG
    value: any
}

export enum HK {
    CR = 0x80000000,
    CU = 0x80000001,
    LM = 0x80000002,
    U = 0x80000003,
}

export enum REG {
    SZ = 1,
    EXPAND_SZ = 2,
    BINARY = 3,
    DWORD = 4,
}

export function getRegistryKey (root: HK, path: string): {[name: string]: RegistryValue}

export function getRegistryValue (root: HK, path: string, name: string): any

export function setRegistryValue (root: HK, path: string, name: string, type: REG, value: string): any

export function setRegistryValue (root: HK, path: string, name: string, type: REG.MULTI_SZ, value: string[]): any

export function listRegistrySubkeys (root: HK, path: string): string[]

export function createRegistryKey (root: HK, path: string)

export function deleteRegistryKey (root: HK, path: string)

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Christian Walther

💻

André Sikma

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

Readme

Keywords

none

Package Sidebar

Install

npm i windows-native-registry

Weekly Downloads

112

Version

3.2.2

License

MIT

Unpacked Size

84.2 kB

Total Files

14

Last publish

Collaborators

  • eugenepankov