0.1.4 • Published 2 years ago

https-dane v0.1.4

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

DANE Agent

Usage

npm i https-dane

const https = require('https')
const { DANEAgent, setServers, lookup } = require('https-dane')

setServers([
  '127.0.0.1:5350'
])

const agent = new DANEAgent()
const url = `https://iamfernando/.well-known/wallets/HNS`

https.get(url, { agent, lookup }, res => res.pipe(process.stdout))