next-domain2ip
Query ip from domain.
installation
npm install -S @jswork/next-domain2ip
usage
import '@jswork/next-domain2ip';
nx.domain2ip('www.china.com').then(res=>{
console.log(res);
});
// [ '13.114.40.48' ]
license
Code released under the MIT license.