Code Monkey home page Code Monkey logo

whois-4's Introduction

whois

MIT License Downloads Version

Whois lib for domain availability and who is registered data.

Installation

Install with npm

  npm i @bedirhansamsa/whois

Install with yarn

  yarn add @bedirhansamsa/whois

Usage/Examples

Code:

const whois = require('@bedirhansamsa/whois');

(async () => {
  const result = await whois('google.com');
  console.log(result);
})();

Output:

{
  available: false,
  data: '   Domain Name: GOOGLE.COM\r\n' +
    '   Registry Domain ID: 2138514_DOMAIN_COM-VRSN\r\n' +
    '   Registrar WHOIS Server: whois.markmonitor.com\r\n' +
    '   Registrar URL: http://www.markmonitor.com\r\n' +
    '   Updated Date: 2019-09-09T15:39:04Z\r\n' +
    '   Creation Date: 1997-09-15T04:00:00Z\r\n' +
    '   Registry Expiry Date: 2028-09-14T04:00:00Z\r\n' +
    '   Registrar: MarkMonitor Inc.\r\n' +
    '   Registrar IANA ID: 292\r\n' +
    '   Registrar Abuse Contact Email: [email protected]\r\n' +
    '   Registrar Abuse Contact Phone: +1.2083895740\r\n' +
    '   Domain Status: clientDeleteProhibited https://icann.org/epp#clientDeleteProhibited\r\n' +
    '   Domain Status: clientTransferProhibited https://icann.org/epp#clientTransferProhibited\r\n' +
    '   Domain Status: clientUpdateProhibited https://icann.org/epp#clientUpdateProhibited\r\n' +
    '   Domain Status: serverDeleteProhibited https://icann.org/epp#serverDeleteProhibited\r\n' +
    '   Domain Status: serverTransferProhibited https://icann.org/epp#serverTransferProhibited\r\n' +
    '   Domain Status: serverUpdateProhibited https://icann.org/epp#serverUpdateProhibited\r\n' +
    '   Name Server: NS1.GOOGLE.COM\r\n' +
    '   Name Server: NS2.GOOGLE.COM\r\n' +
    '   Name Server: NS3.GOOGLE.COM\r\n' +
    '   Name Server: NS4.GOOGLE.COM\r\n' +
    '   DNSSEC: unsigned\r\n'....
}

Running Tests

To run tests, run the following command

  npm run test

Run Locally

Clone the project

  git clone https://github.com/BEDIRHANSAMSA/whois.git

Go to the project directory

  cd whois

Install dependencies

  npm i

Run tests

  npm run test

Features

Support

For support, email [email protected]

Feedback

If you have any feedback, please reach out to us at [email protected]

Authors

License

MIT

whois-4's People

Contributors

bedirhansamsa avatar

Watchers

James Cloos 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.