Giter VIP home page Giter VIP logo

node-rapiddns-io-scrapper's Introduction

RapidDNS scrapper

Version npm node.js version js-semistandard-style Unit test status

Node.js module to scrape and extract result from rapiddns.io (unofficial).

RapidDNS is a dns query tool which make querying subdomains or sites of a same ip easy!

Install

npm i rapiddns-io-scrapper

API

rapiddns(query, queryType)

query: string, mandatory

eg: 'google.com', '8.8.8.8'

If you put a domain/host name on query argument, it will return subdomains for that domain. If you put an IP address (IPv4 or IPv6), it will return hostname with same ip address.

queryType: string, optional

It is optional. If you want to specify it, can be one of: "subdomain" or "sameip". You don't need to specify it. RapidDNS will detect suitable resolver by your "query" value.

Example

const rapiddns = require('rapiddns-io-scrapper');

(async () => {
  const subdomains = await rapiddns('example.org');
  const sameips = await rapiddns('8.8.8.8');
})();

CLI

You can also call this module from CLI.

Install this package as global

sudo npm i --global rapiddns-io-scrapper

Then you can call it from your shell, eg:

rapiddns example.org

It will print some lines like these:

example.org
www.example.org

Limitation

RapidDNS web will limit result to max 10000 items (100 pages * 100 items per pages).

License

Licensed under MIT license. See in LICENSE file.

Changelog

See in CHANGELOG.md file.

node-rapiddns-io-scrapper's People

Contributors

kucingbasah737 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.