# @adonisjs/validator

> Validator for adonis framework

Latest version **13.0.2** (published 2024-01-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install @adonisjs/validator
pnpm add @adonisjs/validator
yarn add @adonisjs/validator
bun add @adonisjs/validator
```

## 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 | 13.0.2 |
| Published | 2024-01-28 |
| First published | 2017-08-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=18.16.0 |
| Dependencies | 7 |
| Unpacked size | 210.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | virk,adonisjs |
| Maintainers | julien-r44, romainlanz, virk |
| Keywords | validator, schema-validation, adonisjs, adonisjs-validator |

## Links

- npm: https://www.npmjs.com/package/@adonisjs/validator
- Repository: https://github.com/adonisjs/validator
- Homepage: https://github.com/adonisjs/validator#readme
- Issues: https://github.com/adonisjs/validator/issues
- npm.io page: https://npm.io/package/@adonisjs/validator

## Dependencies (7)

- [luxon](https://npm.io/package/luxon.md) ^3.4.4
- [tmp-cache](https://npm.io/package/tmp-cache.md) ^1.1.0
- [validator](https://npm.io/package/validator.md) ^13.11.0
- [@types/luxon](https://npm.io/package/@types/luxon.md) ^3.4.2
- [normalize-url](https://npm.io/package/normalize-url.md) ^8.0.0
- [@poppinss/utils](https://npm.io/package/@poppinss/utils.md) ^6.7.1
- [@types/validator](https://npm.io/package/@types/validator.md) ^13.11.8

## Alternatives

- [@regle/core](https://npm.io/package/@regle/core.md) — 47.0K weekly downloads
- [typeof-arguments](https://npm.io/package/typeof-arguments.md) — 12.5K weekly downloads
- [@lokalise/projects-engine-contracts](https://npm.io/package/@lokalise/projects-engine-contracts.md) — 978 weekly downloads
- [@osjwnpm/nam-laboriosam-quibusdam](https://npm.io/package/@osjwnpm/nam-laboriosam-quibusdam.md) — 70 weekly downloads
- [@oridune/validator](https://npm.io/package/@oridune/validator.md) — 16 weekly downloads

## Recent versions

- 13.0.2 (latest) — 2024-01-28
- 13.0.2-3 (next) — 2023-07-04
- 5.1.0 (legacy) — 2021-03-26
- 9.0.0 (alpha) — 2021-02-13
- 12.6.0 — 2023-11-16
- 12.5.0 — 2023-08-24
- 13.0.2-2 — 2023-04-14
- 13.0.2-1 — 2023-03-27
- 13.0.2-0 — 2023-03-04
- 13.0.1-0 — 2023-03-03
- 13.0.0-0 — 2023-02-14
- 12.4.2 — 2023-01-26
- 12.4.1 — 2022-09-09
- 12.4.0 — 2022-08-09
- 12.3.2 — 2022-05-17
- … 67 more at https://npm.io/package/@adonisjs/validator/versions

## README

# @adonisjs/validator

<br />

[![gh-workflow-image]][gh-workflow-url] [![npm-image]][npm-url] ![][typescript-image] [![license-image]][license-url]

## Introduction
This is the repo for the legacy Validator mainly used by AdonisJS v5. We ported it to AdonisJS 6 in order to allow users to easily migrate to AdonisJS 6. 

The new validator is now [Vine.js](vinejs.dev) and we recommend migrating to it and using it for new projects.

## Official Documentation
The documentation for the legacy validator is available on the [AdonisJS website](https://v6-migration.adonisjs.com/guides/validator-introduction)

## Contributing
One of the primary goals of AdonisJS is to have a vibrant community of users and contributors who believes in the principles of the framework.

We encourage you to read the [contribution guide](https://github.com/adonisjs/.github/blob/main/docs/CONTRIBUTING.md) before contributing to the framework.

## Code of Conduct
In order to ensure that the AdonisJS community is welcoming to all, please review and abide by the [Code of Conduct](https://github.com/adonisjs/.github/blob/main/docs/CODE_OF_CONDUCT.md).

## License
AdonisJS Mail is open-sourced software licensed under the [MIT license](LICENSE.md).

[gh-workflow-image]: https://img.shields.io/github/actions/workflow/status/adonisjs/validator/checks.yml?style=for-the-badge
[gh-workflow-url]: https://github.com/adonisjs/validator/actions/workflows/checks.yml "Github action"

[npm-image]: https://img.shields.io/npm/v/@adonisjs/validator/latest.svg?style=for-the-badge&logo=npm
[npm-url]: https://www.npmjs.com/package/@adonisjs/validator/v/latest "npm"

[typescript-image]: https://img.shields.io/badge/Typescript-294E80.svg?style=for-the-badge&logo=typescript

[license-url]: LICENSE.md
[license-image]: https://img.shields.io/github/license/adonisjs/validator?style=for-the-badge

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