in lib/index.ts [10:17]
export function GetStringRegKey(hive: HKEY, path: string, name: string): string | undefined {
if (windowregistry) {
return windowregistry.GetStringRegKey(hive, path, name);
}
console.error('Could not initialize Windows Registry native node module.');
return undefined;
}