A TypeScript/JavaScript library for querying and validating DNSSEC data from DNS.
npm install '@ensdomains/dnsprovejs' --save
import { DNSProver } from '@ensdomains/dnsprovejs'
const prover = DNSProver.create("https://cloudflare-dns.com/dns-query")
const result = await prover.queryWithProof('TXT', textDomain)
Please refer to the doc
npm run test