# llibemailaddress

> Simple E-Mail address class / parser, which I can share across projects.

Latest version **1.0.1** (published 2022-07-05) · ISC license · 0 weekly downloads

## Install

```sh
npm install llibemailaddress
pnpm add llibemailaddress
yarn add llibemailaddress
bun add llibemailaddress
```

## Health

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

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2022-07-05 |
| First published | 2022-07-05 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 8.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | skywa04885 |

## Links

- npm: https://www.npmjs.com/package/llibemailaddress
- npm.io page: https://npm.io/package/llibemailaddress

## Recent versions

- 1.0.1 (latest) — 2022-07-05
- 1.0.0 — 2022-07-05

## README

# Luke Email-Address Library

Simple E-Mail address class / parser, which I can share across projects.

# Usage

```ts
import { EmailAddress } from 'llibemailaddress';

const address1 = new EmailAddress(
  'luke.rieff', /* Username */
  'gmail.com', /* Hostname */
  'Luke Rieff' /* Name */
);
const address2 = EmailAddress.fromAddress('luke.rief@gmail.com', 'Luke Rieff');
const address3 = EmailAddress.decode('"Luke Rieff" <luke.rieff@gmail.com>');

console.log(address1.encode());
/* Luke Rieff <luke.rieff@gmail.com> */
console.log(address2.address)
/* luke.rieff@gmail.com */

```

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