# ajax-input-validator

> Developed for use in React html input's to watch for changes and AJAX run a validator. ES6 only.

Latest version **1.2.6** (published 2016-12-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install ajax-input-validator
pnpm add ajax-input-validator
yarn add ajax-input-validator
bun add ajax-input-validator
```

## 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.2.6 |
| Published | 2016-12-21 |
| First published | 2016-09-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Andrew McGregor |
| Maintainers | txm |
| Keywords | input, validator, ajax |

## Links

- npm: https://www.npmjs.com/package/ajax-input-validator
- Repository: https://github.com/txm/ajax-input-validator
- Issues: https://github.com/txm/ajax-input-validator/issues
- npm.io page: https://npm.io/package/ajax-input-validator

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 1.2.6 (latest) — 2016-12-21
- 1.2.5 — 2016-12-20
- 1.2.4 — 2016-12-20
- 1.2.3 — 2016-12-20
- 1.2.2 — 2016-12-20
- 1.2.1 — 2016-12-20
- 1.2.0 — 2016-12-20
- 1.1.4 — 2016-12-20
- 1.1.3 — 2016-12-20
- 1.1.2 — 2016-09-20
- 1.1.1 — 2016-09-20
- 1.1.0 — 2016-09-20
- 1.0.2 — 2016-09-20
- 1.0.1 — 2016-09-20
- 1.0.0 — 2016-09-20

## README

# ajax-input-validator

[![experimental](http://badges.github.io/stability-badges/dist/experimental.svg)](http://github.com/badges/stability-badges)

Developed for use in React html input's to watch for changes and AJAX run a validator

## Usage

[![NPM](https://nodei.co/npm/ajax-input-validator.png)](https://www.npmjs.com/package/ajax-input-validator)

`import AjaxInputValidator from 'ajax-input-validator';`

`let aiv = new AjaxInputValidator({time:2000, validate_func:validate_func});`

`<input onKeyUp={aiv.keyUp} onPaste={aiv.paste} onBlur={aiv.blur} />`

## License

MIT, see [LICENSE.md](http://github.com/txm/ajax-input-validator/blob/master/LICENSE.md) for details.

## HEALTH WARNING

The big fail is that the plugin is dumb by design and doesn't know what validation function is being executed, therefore I don't yet have a test I can run.

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