@testcnsdomains/dnsprovejs
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

dnsprove.js

A TypeScript/JavaScript library for querying and validating DNSSEC data from DNS.

Installing

npm install '@ensdomains/dnsprovejs' --save

Usage

import { DNSProver } from '@ensdomains/dnsprovejs'
const prover = DNSProver.create("https://cloudflare-dns.com/dns-query")
const result = await prover.queryWithProof('TXT', textDomain)

API

Please refer to the doc

Testing

  npm run test

Readme

Keywords

none

Package Sidebar

Install

npm i @testcnsdomains/dnsprovejs

Weekly Downloads

0

Version

0.0.1

License

ISC

Unpacked Size

48.4 kB

Total Files

11

Last publish

Collaborators

  • crestprotocol