Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 602 Bytes

readme.md

File metadata and controls

33 lines (23 loc) · 602 Bytes

Antstack Hiring Task.

Task1 - Validate if a metatag is present in a site.

Instructions:
  1. Step to install npm package.
npm install
  1. Step to execute the Task1.
npm run first

Task2 - Validate if a dns txt record is present in a domain.

Instructions:
  1. Step to execute the Task2.
npm run second
References:

For Task1:

  1. https://github.com/node-fetch/node-fetch#plain-text-or-html

For Task2:

  1. https://nodejs.org/api/dns.html#dnsresolvetxthostname-callback
  2. https://www.knowledgehut.com/blog/web-development/dns-module-in-nodejs