# tmail-api

> NPM Wrapper for TMail API

Latest version **1.0.2** (published 2021-12-05) · ISC license · 0 weekly downloads

## Install

```sh
npm install tmail-api
pnpm add tmail-api
yarn add tmail-api
bun add tmail-api
```

## 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.2 |
| Published | 2021-12-05 |
| First published | 2021-12-05 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 2.1 KB |
| Known vulnerabilities | 0 (+23 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Harshit Peer |
| Maintainers | harshitpeer |
| Keywords | tmail, temp, mail |

## Links

- npm: https://www.npmjs.com/package/tmail-api
- Repository: https://github.com/harshitpeer/TMail-API
- Homepage: https://github.com/harshitpeer/TMail-API#readme
- Issues: https://github.com/harshitpeer/TMail-API/issues
- npm.io page: https://npm.io/package/tmail-api

## Dependencies (1)

- [axios](https://npm.io/package/axios.md) ^0.24.0

## Alternatives

- [@expo/fingerprint](https://npm.io/package/@expo/fingerprint.md) — 6.2M weekly downloads
- [@azure/monitor-opentelemetry-exporter](https://npm.io/package/@azure/monitor-opentelemetry-exporter.md) — 850.0K weekly downloads
- [@azure/monitor-opentelemetry](https://npm.io/package/@azure/monitor-opentelemetry.md) — 624.0K weekly downloads
- [@posthog/ai](https://npm.io/package/@posthog/ai.md) — 423.3K weekly downloads
- [fakefilter](https://npm.io/package/fakefilter.md) — 63.9K weekly downloads

## Recent versions

- 1.0.2 (latest) — 2021-12-05
- 1.0.1 — 2021-12-05
- 1.0.0 — 2021-12-05

## README

# TMail API
> Simple TMail API Wrapper as a Node Package so that you can use in any if your JS based frameworks.
## Quick Start

### Install TMail API
```bash
# Install TMail API
npm i tmail-api
```
### Usage Example
```js
const tmail = require('tmail-api')

const app = tmail('[YOUR_TMAIL_SITE_API]', '[API_KEY]')
//Example const app = tmail('https://default.tmail.thehp.in/api', '123123123')

const main = async () => {
  console.log(await app.domains())
  console.log(await app.create()) //To get Ramdom Email ID
  console.log(await app.create('email@domain.com')) //To create Custom Email ID
  console.log(await app.messages('email@domain.com'))
  console.log(await app.deleteMessage(123))
}

mail();
```
## Special Mentions
TempMailed - [Temp Mail](https://tempmailed.com)

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