node-diskusage
node-diskusage copied to clipboard
Make diskusage Context Aware
We use diskusage in an Electron application and Electron is soon requiring Native Modules in the Renderer Process to be NAPI or Context Aware.
Is it possible to make diskusage Context Aware? See https://github.com/electron/electron/issues/18397 and an example https://github.com/atom/node-keytar/pull/182/files
Thanks
This looks relatively low cost, should be straightforward to add as well. I'll take a look at this over the next week, thanks!
Thanks! I also saw this https://github.com/blagoev/node-diskusage/commit/d55db9d369b6c7728b97a2972232e66225c69bb4
@jduncanator hey mate, any progress on making this context aware on NAPI? What do you think about https://github.com/blagoev/node-diskusage/commit/d55db9d ?
@aleksey-hoffman Good Job!