# aurelia-validation

> Validation for Aurelia applications

Latest version **2.0.0** (published 2023-02-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install aurelia-validation
pnpm add aurelia-validation
yarn add aurelia-validation
bun add aurelia-validation
```

## Health

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

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2023-02-07 |
| First published | 2015-02-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 6 |
| Unpacked size | 1.8 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 129 |
| Author | Jeremy Danyow |
| Maintainers | jdanyow, aureliaeffect |
| Keywords | aurelia, plugin, validation |

## Links

- npm: https://www.npmjs.com/package/aurelia-validation
- Repository: https://github.com/aurelia/validation
- Homepage: http://aurelia.io
- Issues: https://github.com/aurelia/validation/issues
- npm.io page: https://npm.io/package/aurelia-validation

## Dependencies (6)

- [aurelia-pal](https://npm.io/package/aurelia-pal.md) ^1.8.0
- [aurelia-binding](https://npm.io/package/aurelia-binding.md) ^2.5.2
- [aurelia-logging](https://npm.io/package/aurelia-logging.md) ^1.5.0
- [aurelia-task-queue](https://npm.io/package/aurelia-task-queue.md) ^1.3.1
- [aurelia-templating](https://npm.io/package/aurelia-templating.md) ^1.11.1
- [aurelia-dependency-injection](https://npm.io/package/aurelia-dependency-injection.md) ^1.5.0

## 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

- 2.0.0 (latest) — 2023-02-07
- 2.0.0-rc2 — 2020-06-12
- 2.0.0-rc1 — 2020-03-26
- 1.6.0 — 2019-12-18
- 1.5.0 — 2019-08-09
- 1.4.0 — 2019-03-23
- 1.3.3 — 2019-01-19
- 1.3.2 — 2018-11-16
- 1.3.1 — 2018-11-16
- 1.3.0 — 2018-10-30
- 1.2.3 — 2018-09-25
- 1.2.2 — 2018-07-03
- 1.2.1 — 2018-07-02
- 1.2.0 — 2018-06-21
- 1.1.3 — 2018-03-18
- … 33 more at https://npm.io/package/aurelia-validation/versions

## README

<p>
  <a href="https://aurelia.io/" target="_blank">
    <img alt="Aurelia" src="https://aurelia.io/styles/images/aurelia.svg">
  </a>
</p>

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![npm Version](https://img.shields.io/npm/v/aurelia-validation.svg)](https://www.npmjs.com/package/aurelia-validation)
![ci](https://github.com/aurelia/validation/actions/workflows/main.yml/badge.svg)
[![Discourse status](https://img.shields.io/discourse/https/meta.discourse.org/status.svg)](https://discourse.aurelia.io)
[![Twitter](https://img.shields.io/twitter/follow/aureliaeffect.svg?style=social&label=Follow)](https://twitter.com/intent/follow?screen_name=aureliaeffect)
[![Discord Chat](https://img.shields.io/discord/448698263508615178.svg)](https://discord.gg/RBtyM6u)


# aurelia-validation

This library is part of the [Aurelia](http://www.aurelia.io/) platform and contains a plugin that provides validation capabilities.

> To keep up to date on [Aurelia](http://www.aurelia.io/), please visit and subscribe to [the official blog](http://blog.aurelia.io/) and [our email list](http://eepurl.com/ces50j). We also invite you to [follow us on twitter](https://twitter.com/aureliaeffect). If you have questions look around our [Discourse forums](https://discourse.aurelia.io/), chat in our [community on Discord](https://discord.gg/RBtyM6u) or use [stack overflow](http://stackoverflow.com/search?q=aurelia). Documentation can be found [in our developer hub](http://aurelia.io/docs).

## Documentation

Check out the [docs](http://aurelia.io/docs/plugins/validation) on the Aurelia Hub.

## Reporting Issues

Please refer to the [issue template](ISSUE_TEMPLATE.md). Accompany any bug report with a demo of the issue using a [runnable Gist](https://gist.run/?id=381fdb1a4b0865a4c25026187db865ce).


## Building The Code

To build the code, follow these steps.

1. Ensure that [NodeJS](http://nodejs.org/) is installed. This provides the platform on which the build tooling runs.
2. From the project folder, execute the following command:

  ```shell
  npm install
  ```
3. To build the code, you can now run:

  ```shell
  npm run build
  ```
4. You will find the compiled code in the `dist` folder, available in three module formats: AMD, CommonJS and ES6.

## Running The Tests

To run the unit tests, first ensure that you have followed the steps above in order to install all dependencies and successfully build the library. Once you have done that, proceed with these additional steps:

1. You can now run the tests with this command:

  ```shell
  npm run test
  ```

  You can optionally run either of the following:
  ```shell
  npm run test:watch
  # OR
  npm run test:debugger
  ```

  to have better development experience, with watch/debuging capabilities


## Publishing

Refer to `./doc/MAINTAINER.md` for details.

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