Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 458 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 458 Bytes

dnsprove.js

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

Installing

bun add @ensdomains/dnsprovejs

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

bun test