New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

node-email-extractor

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-email-extractor

Extract emails from text and also from a site page

  • 1.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
114
decreased by-25%
Maintainers
1
Weekly downloads
 
Created
Source

Node Email Extractor

npm

npm version lisence issues downloads month downloads

Extract emails from text and also from a site page

Includes

Requirements

Instalation

Instalation is done using npm install command

$ npm install node-email-extractor

Feutures

  • Extract email from plaintext
  • Extract emails from website content
  • this module already supports typescript

Usage

javascript

const email = require('node-email-extractor').default;

(async () => {
    var data = await email.url('https://www.****.com/contact-us/')
    console.log(data);
})()

var data = email.text(`Contact Details
Phone: +267 72301363 / 73316322

Email: kumindaculture@gmail.com

Registered with: `)

console.log(data)

typescript

import EmailExtractor from "node-email-extractor";

(async () => {
    var data = await EmailExtractor.url('https://www.****.com/contact-us/')
    console.log(data);
})()

var data = EmailExtractor.text(`Contact Details
Phone: +267 72301363 / 73316322

Email: kumindaculture@gmail.com

Registered with: `)

console.log(data)

results

{ domains: [ 'gmail.com' ], emails: [ 'kumindaculture@gmail.com' ] }
{ domains: [ 'gmail.com' ], emails: [ 'kumindaculture@gmail.com' ] }

Yes, it's really all you need to get started, Thank You ❤️

Keywords

FAQs

Package last updated on 13 Dec 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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