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

10minutemail

v0.2.0

Published

10 minute mail api

Readme

10minutemail Node API

API to create and retrieve mail from 10minutemail

npm install 10minutemail

Usage

var minutemail = require('10minutemail')

mail = minutemail({timeout: 10000, startup: true})

mail.on('address', (address) => console.log(address))
mail.on('mail', (mails) => console.log(mails[0].subject))
mail.on('count', (count) => console.log(count)

API

The factory returns an EventEmitter that emits 3 events whenever they happen

var mail = minutemail([options])

Creates a new minutemail emitter that starts as soon as it stablishes a connection, and fetches the site every 10 seconds

Options include:

{
  timeout: 10000,
  startup: true    // setting this to false would only create the emitter and retrieve the email address created
}

Properties

mail.address

Holds the email address retrieved from 10minutemail.com. This is an asynchronous fetch, so it may not be readily available. Listen for the address event.

Methods

mail.start()

Starts fetching emails and counts from 10minutemail.com

mail.stop()

Stops fetching emails and counts

Events

mail.on('address')

Emitted when the email address is retrieved. After it retrieves, the address is stored in the EventEmitter and accessed as mail.address

mail.on('mail')

Emitted when there are any emails in the inbox

mail.on('count')

Emitted when for every count request, event if it is 0