npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

contact-email-extractor-cli

v1.0.1

Published

Advanced email extraction tool using Puppeteer

Downloads

24

Readme

Contact Email Extractor

A powerful, production-ready CLI tool for extracting contact emails from websites using Puppeteer. Built with advanced anti-detection techniques and human-like behavior simulation.

npm version npm downloads GitHub license GitHub stars GitHub issues CI Status Last commit Code style Docker pulls

🌟 Features

  • 🛡️ Anti-Detection: Advanced stealth techniques to avoid bot detection
  • 🎯 Smart Extraction: Intelligent email extraction from dynamic content
  • 🔄 Proxy Support: Built-in proxy rotation with automatic failover
  • High Performance: Parallel processing with configurable concurrency
  • 📊 Multiple Outputs: Export results in JSON, CSV, or TXT formats
  • 🛠️ Robust Error Handling: Graceful error recovery and comprehensive logging

🚀 Quick Start

# Install globally
npm install -g contact-email-extractor-cli

# Basic usage
email-extractor domains.txt

# Advanced options
email-extractor domains.txt \
  --concurrency 5 \
  --timeout 60000 \
  --proxy-list proxies.txt \
  --export json

📦 Installation

  1. Clone the repository:
git clone https://github.com/dranach1/contact-email-extractor.git
cd contact-email-extractor
  1. Install dependencies:
npm install
  1. Create configuration files:
cp config.example.json config.json

⚙️ Configuration

Create a config.json file in your project root:

{
  "maxConcurrent": 3,
  "timeout": 30000,
  "maxPagesPerDomain": 10,
  "viewport": {
    "width": 1920,
    "height": 1080
  }
}

📝 Usage

Basic Usage

email-extractor domains.txt

Advanced Options

email-extractor domains.txt \
  --concurrency 5 \
  --timeout 60000 \
  --proxy-list proxies.txt \
  --export json

Command Line Options

| Option | Description | Default | |--------|-------------|---------| | --concurrency | Number of concurrent processes | 3 | | --timeout | Request timeout in ms | 30000 | | --proxy-list | Path to proxy list file | - | | --export | Output format (json/csv/txt) | json | | --debug | Enable debug logging | false |

📊 Output Examples

JSON Output

{
  "domain": "example.com",
  "emails": [
    "[email protected]",
    "[email protected]"
  ],
  "contactPages": [
    "https://example.com/contact",
    "https://example.com/about"
  ],
  "metadata": {
    "pagesChecked": 5,
    "emailsFound": 2,
    "processingTime": 1234
  }
}

CSV Output

email,source_page,domain
[email protected],https://example.com/contact,example.com
[email protected],https://example.com/about,example.com

🐳 Docker Support

# Build the image
docker build -t contact-email-extractor .

# Run the container
docker run -v $(pwd):/app contact-email-extractor domains.txt

🤝 Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

👥 Authors

🙏 Acknowledgments

📚 Documentation

For detailed documentation, visit our GitHub Pages site.

🔒 Security

Please report any security issues to [email protected].

📞 Support