Skip to content

BlackFenix2/mojodns-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mojodns javascript client

npm version

JavaScript client for https://mojodns.com/

Supported Runtimes

This Driver supports and is tested on:

  • Node.js
    • LTS
    • Stable
  • Chrome
  • Firefox
  • Safari
  • Microsoft Edge

Using the Client

Installation

Node.js

npm install --save mojodns

or

yarn add mojodns

Usage

import MojodnsClient from "mojodns";

const client = new MojodnsClient("your-api-key");

const response = await client.GetA("google.com");

response.answerResourceRecords.forEach((answer) => {
  console.log(JSON.Stringify(answer));
});

About

JavaScript client for https://mojodns.com/

Resources

License

Stars

Watchers

Forks

Packages

No packages published