@ensdomains/dnsprovejs

A library to generate chains of trust proving DNS records via DNSSEC

Stats

StarsIssuesVersionUpdatedCreatedSize
@ensdomains/dnsprovejs
560.4.12 months ago3 years agoMinified + gzip package size for @ensdomains/dnsprovejs in KB

Readme

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

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.