All Projects β†’ Eugeny β†’ windows-native-registry

Eugeny / windows-native-registry

Licence: MIT license
Native windows registry access for Node

Programming Languages

C++
36643 projects - #6 most used programming language
typescript
32286 projects
javascript
184084 projects - #8 most used programming language
python
139335 projects - #7 most used programming language

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!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].