# check-tmpmail

> A minimal utility command that polls the given [1secmail](https://www.1secmail.com/) email address for incoming emails containing a link, then prints the link's URL to stdout.

Latest version **1.0.0** (published 2021-03-23) · ISC license · 0 weekly downloads

## Install

```sh
npm install check-tmpmail
pnpm add check-tmpmail
yarn add check-tmpmail
bun add check-tmpmail
```

Provides the command `check-tmpmail`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2021-03-23 |
| First published | 2021-03-23 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 5.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Bruno Garcia |
| Maintainers | b_garcia |

## Links

- npm: https://www.npmjs.com/package/check-tmpmail
- Repository: https://github.com/aduros/check-tmpmail
- Issues: https://github.com/aduros/check-tmpmail/issues
- npm.io page: https://npm.io/package/check-tmpmail

## Dependencies (4)

- [commander](https://npm.io/package/commander.md) ^7.2.0
- [domhandler](https://npm.io/package/domhandler.md) ^4.0.0
- [node-fetch](https://npm.io/package/node-fetch.md) ^2.6.1
- [htmlparser2](https://npm.io/package/htmlparser2.md) ^6.0.1

## Recent versions

- 1.0.0 (latest) — 2021-03-23

## README

# check-tmpmail

A minimal utility command that polls the given [1secmail](https://www.1secmail.com/) email address
for incoming emails containing a link, then prints the link's URL to stdout.

## Installing

`npm install -g check-tmpmail`

## Usage Example

```sh
#!/bin/sh -e
#
# Generates a temporary email address and opens the link in the incoming confirmation email.

email="`apg -a 1 -n 1 -M L`@1secmail.com"

echo -n "$email" | xsel --clipboard
notify-send "Copied temporary email to clipboard" -i edit-copy

timeout 120 check-tmpmail "$email" | xargs firefox --private-window
```

---
_Source: https://npm.io/package/check-tmpmail · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
