eviltik / evilscan

NodeJS Simple Network Scanner
https://github.com/eviltik/evilscan
MIT License
547 stars 64 forks source link

Async evilscan when? #71

Open ExperiBass opened 3 years ago

ExperiBass commented 3 years ago

I love evilscan, its the only module thats actually good enough for what i need to do. the only issue is, i cant just await the scan and return the data to other parts of the code that could use the data.

DaTebe commented 3 years ago

Why don't you write a wrapper function that returns a Promise? Just curious :)

ExperiBass commented 3 years ago

i would, am busy with other code and life

eviltik commented 3 years ago

PR welcome, i hate async/await stuff :D

eviltik commented 2 years ago

I need to check if all the code respect callback(err, result) so we can add a layer using native nodejs promisify().