NodeSecure (npm) domain-check analysis package
- Node.js v18 or higher
This package is available in the Node Package Repository and can be easily installed with npm or yarn.
$ npm i @nodesecure/domain-check
# or
$ yarn add @nodesecure/domain-checkimport { whois, resolveMxRecords } from "@nodesecure/domain-check";
const myDomain = "google.com";
const domainExpirationDate = await whois(myDomain);
const mxRecords = await resolveMxRecords(myDomain);An array of MX exchanges, or an object with error information for the given domain.
Thanks goes to these wonderful people (emoji key):
Vincent Dhennin π» π π π |
Gentilhomme π» |
Kouadio Fabrice Nguessan π§ |
zwOk9 |