DNS client and server implementation, supporting both https and udp. https://push.rocks/smartdns
Go to file
2019-01-07 00:53:04 +01:00
test fix(core): update 2019-01-07 00:28:15 +01:00
ts fix(core): update 2019-01-07 00:53:04 +01:00
.gitignore improve 2016-11-15 22:40:40 +01:00
.gitlab-ci.yml fix(core): update 2019-01-07 00:21:15 +01:00
npmextra.json fix(core): update 2019-01-07 00:21:15 +01:00
package-lock.json 3.0.8 2019-01-07 00:53:04 +01:00
package.json 3.0.8 2019-01-07 00:53:04 +01:00
readme.md fix(docs): update 2018-05-13 16:21:15 +02:00
tslint.json fix(core): update 2019-01-07 00:21:15 +01:00

@pushrocks/smartdns

smart dns methods written in TypeScript

Availabililty

npm git git docs

Status for master

build status coverage report npm downloads per month Dependency Status bitHound Dependencies bitHound Code TypeScript node JavaScript Style Guide

Usage

Use TypeScript for best in class instellisense.

let myDnsly = new dnsly.Dnsly('google'); // uses Google DNS Servers e.g 8.8.8.8
myDnsly
  .getRecord('example.com', 'AAAA') // returns promise
  .then((record: dnsly.I_AAAA) => {
    // AAAA record for google.com, the I_AAAA will give you proper typings for the record return type
    // do something
  });

For further information read the linked docs at the top of this README.

MIT licensed | © Lossless GmbH | By using this npm module you agree to our privacy policy

repo-footer