Node-WHOIS-JSON - WHOIS fetch & output in JSON, slim & fast, without any dependencies
npm install whois-node-json!NPM
!npm bundle size
!GitHub package.json version
!Lines of code
js
const whois = require('whois-node-json')whois('google.com').then(result => console.log('domain whois:', result))
whois('AS3333').then(result => console.log('asn whois:', result))
whois('193.0.0.0/21').then(result => console.log('network whois:', result))
whois('2001:67c:2e8:22::c100:68b').then(result => console.log('network ipv6:', result))
`Examples
More examples can be found in test.js.Tests
Please ensure you have stable internet connectivity and run:
`js
npm run test
``#whois #whois-json #whois-query #whois-client #whois-as #whois-network