Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

legit

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

legit - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc