Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "legit", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Check that email addresses are really able to accept emails by pinging the DNS and checking for active MX records.", | ||
@@ -5,0 +5,0 @@ "main": "./src/index.js", |
@@ -15,10 +15,10 @@ # Legit | ||
```javascript | ||
const legit = require("../src/index.js"); | ||
const legit = require('legit'); | ||
legit("martyn@martyndavies.me") | ||
legit('martyn@martyndavies.me') | ||
.then(result => { | ||
console.log("This is a real email that can accept emails!"); | ||
console.log('This is a real email that can accept emails!'); | ||
console.log(JSON.stringify(result)); | ||
}) | ||
.catch(err => console.log("This domain cannot accept emails.")); | ||
.catch(err => console.log('This domain cannot accept emails.')); | ||
``` | ||
@@ -25,0 +25,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3918