nodejs async await all data in one variable

前端 未结 0 1746
野性不改
野性不改 2021-01-04 22:56

I want to check If a Domain is on spam list.

const dnsbl = require(\'dnsbl\');
 
const spam1 = await dnsbl.lookup(\'127.0.0.2\', \'zen.spamhaus.org\');

 
con         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题