# tranquil-breeze-validator

> A validator library powered by joi, validator, and isemail.

Latest version **1.1.2** (published 2024-04-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install tranquil-breeze-validator
pnpm add tranquil-breeze-validator
yarn add tranquil-breeze-validator
bun add tranquil-breeze-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.1.2 |
| Published | 2024-04-17 |
| First published | 2024-03-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 3.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Maintainers | mossiney |
| Keywords | validator, validation, joi, isemail |

## Links

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

## Dependencies (3)

- [joi](https://npm.io/package/joi.md) ^17.0.0
- [isemail](https://npm.io/package/isemail.md) ^4.0.0
- [validator](https://npm.io/package/validator.md) ^13.0.0

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

- 1.1.2 (latest) — 2024-04-17
- 1.1.1 — 2024-03-20
- 1.1.0 — 2024-03-20
- 1.0.0 — 2024-03-18

## README

# tranquil-breeze-validator

`tranquil-breeze-validator` is a comprehensive data validation library leveraging the strengths of `joi`, `validator`,
and `isemail` to provide a robust validation toolkit for your JavaScript applications. Whether you're validating email
addresses, passwords, or usernames, `tranquil-breeze-validator` offers an intuitive and easy-to-use interface for your
validation needs.

## Features

- Email validation using `isemail`
- Password validation with customizable rules using `joi`
- Username validation to ensure alphanumeric characters with `validator`

## Installation

To use `tranquil-breeze-validator` in your project, run:

```bash
npm install tranquil-breeze-validator
```

## Usage

### Validate Email

```javascript
const { validateEmail } = require('tranquil-breeze-validator');

console.log(validateEmail('example@example.com')); // true or false
```

### Validate Password

```javascript
const { validatePassword } = require('tranquil-breeze-validator');

console.log(validatePassword('yourSecurePassword123')); // Result object from Joi
```

### Validate Username

```javascript
const { validateUsername } = require('tranquil-breeze-validator');

console.log(validateUsername('user123')); // true or false
```

## Contributions

Contributions are welcome! Please feel free to submit a pull request or create an issue if you have suggestions or find
a bug.

## License

This project is licensed under the MIT License - see the LICENSE.md file for details.

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