# email-autocomplete

> Email autocomplete helper

Latest version **0.2.0** (published 2020-01-12) · BSD-3-Clause license · 0 weekly downloads

## Install

```sh
npm install email-autocomplete
pnpm add email-autocomplete
yarn add email-autocomplete
bun add email-autocomplete
```

## Health

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

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2020-01-12 |
| First published | 2018-08-02 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 186.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Štefan Bartko |
| Maintainers | bartko-s |

## Links

- npm: https://www.npmjs.com/package/email-autocomplete
- Repository: https://github.com/bartko-s/email-autocomplete
- Homepage: https://github.com/bartko-s/email-autocomplete#readme
- Issues: https://github.com/bartko-s/email-autocomplete/issues
- npm.io page: https://npm.io/package/email-autocomplete

## Recent versions

- 0.2.0 (latest) — 2020-01-12
- 0.1.1 — 2018-08-04
- 0.1.0 — 2018-08-02

## README

# Email Autocomplete

[![Donate on PayPal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://paypal.me/stevo4) 
 
[Online DEMO](https://email-autocomplete.stefanbartko.sk/)

Simple helper which help you add email autocompletion of popular email domain to your mail input fields.

## Installation

`npm install email-autocomplete --save`

## Usage
- ES2015 module import
```
import * as EmailAutocomplete from 'email-autocomplete';

let suggestedAddreses = EmailAutocomplete.search("test@gm");
```

- load via script tag
```
<script src="dist/email-autocomplete.min.js"></script>

let suggestedAddreses = EmailAutocomplete.search("test@gm");    
```

- use UNPKG CDN

 see [UNPKG](https://unpkg.com)


## Example usage with jQueryUI autocomplete
```
$('#email-input').autocomplete({
    minLength: 3,
    source: function (request, response) {
        response(EmailAutocomplete.search(request.term));
    }
});
```

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