kessler / node-regedit

Read, Write, List and do all sorts of funky stuff to the windows registry using node.js and windows script host
MIT License
279 stars 45 forks source link

need to move arch.promisified into promisified #100

Open kessler opened 2 years ago

kessler commented 2 years ago
const regedit = require('regedit').promisified

but then if promisified arch is needed then one has to require again:

const regedit = require('regedit').arch.promisified

This comes more naturally:

const regedit = require('regedit').promisified
await regedit.arch.somemethod()