2020-02-15 16:41:37 +00:00
|
|
|
# @[object Object]/[object Object]
|
|
|
|
[object Object]
|
2018-05-13 13:51:04 +00:00
|
|
|
|
2020-02-15 16:41:37 +00:00
|
|
|
## Availabililty and Links
|
|
|
|
* [npmjs.org (npm package)](https://www.npmjs.com/package/[object Object])
|
|
|
|
* [gitlab.com (source)](https://[object Object]/[object Object]/[object Object])
|
|
|
|
* [github.com (source mirror)](https://github.com/[object Object]/[object Object])
|
|
|
|
* [docs (typedoc)](https://[object Object].gitlab.io/[object Object]/)
|
2017-07-18 13:45:06 +00:00
|
|
|
|
|
|
|
## Status for master
|
2020-02-15 16:41:37 +00:00
|
|
|
[![pipeline status](https://[object Object]/[object Object]/[object Object]/badges/master/pipeline.svg)](https://[object Object]/[object Object]/[object Object]/commits/master)
|
|
|
|
[![coverage report](https://[object Object]/[object Object]/[object Object]/badges/master/coverage.svg)](https://[object Object]/[object Object]/[object Object]/commits/master)
|
|
|
|
[![npm downloads per month](https://img.shields.io/npm/dm/[object Object].svg)](https://www.npmjs.com/package/[object Object])
|
|
|
|
[![Known Vulnerabilities](https://snyk.io/test/npm/[object Object]/badge.svg)](https://snyk.io/test/npm/[object Object])
|
|
|
|
[![TypeScript](https://img.shields.io/badge/TypeScript->=%203.x-blue.svg)](https://nodejs.org/dist/latest-v10.x/docs/api/)
|
|
|
|
[![node](https://img.shields.io/badge/node->=%2010.x.x-blue.svg)](https://nodejs.org/dist/latest-v10.x/docs/api/)
|
|
|
|
[![JavaScript Style Guide](https://img.shields.io/badge/code%20style-prettier-ff69b4.svg)](https://prettier.io/)
|
2017-07-18 13:45:06 +00:00
|
|
|
|
|
|
|
## Usage
|
2018-05-13 13:51:04 +00:00
|
|
|
|
2017-07-18 13:45:06 +00:00
|
|
|
Use TypeScript for best in class instellisense.
|
|
|
|
|
2018-05-13 14:21:15 +00:00
|
|
|
```typescript
|
2020-02-15 16:41:37 +00:00
|
|
|
const mySmartDns = new smartdns.SmartDns(); // uses Google DNS Https API
|
|
|
|
const demoRecord = mySmartDns.getRecord('example.com', 'AAAA') // returns promise
|
|
|
|
/*
|
|
|
|
demoRecord looks like this:
|
|
|
|
{
|
|
|
|
name: 'example.com',
|
|
|
|
type: 'A',
|
|
|
|
dnsSecEnabled: true,
|
|
|
|
value: '104.24.103.243'
|
|
|
|
}
|
|
|
|
*/
|
2018-05-13 14:21:15 +00:00
|
|
|
```
|
|
|
|
|
2017-07-18 13:45:06 +00:00
|
|
|
For further information read the linked docs at the top of this README.
|
|
|
|
|
|
|
|
> MIT licensed | **©** [Lossless GmbH](https://lossless.gmbh)
|
2018-05-13 13:51:04 +00:00
|
|
|
> | By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy.html)
|
2017-07-18 13:45:06 +00:00
|
|
|
|
|
|
|
[![repo-footer](https://pushrocks.gitlab.io/assets/repo-footer.svg)](https://push.rocks)
|
2020-02-15 16:41:37 +00:00
|
|
|
|
|
|
|
For further information read the linked docs at the top of this readme.
|
|
|
|
|
|
|
|
> [object Object] licensed | **©** [Lossless GmbH](https://lossless.gmbh)
|
|
|
|
| By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy)
|
|
|
|
|
|
|
|
[![repo-footer](https://lossless.gitlab.io/publicrelations/repofooter.svg)](https://maintainedby.lossless.com)
|