# valdie

> Modern javaScript and typescript Validator that just works

Latest version **0.1.2** (published 2022-02-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install valdie
pnpm add valdie
yarn add valdie
bun add valdie
```

## Health

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

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

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.2 |
| Published | 2022-02-28 |
| First published | 2021-03-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 26.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 18 |
| Author | Makuza Mugabo Verite & Patrick Niyogitare |
| Maintainers | veritem |
| Keywords | validator, ts-validator, validation, js-validator |

## Links

- npm: https://www.npmjs.com/package/valdie
- Repository: https://github.com/Rwanda-Coding-Academy/Valdie
- Homepage: https://github.com/Rwanda-Coding-Academy/Valdie#readme
- Issues: https://github.com/Rwanda-Coding-Academy/Valdie/issues
- npm.io page: https://npm.io/package/valdie

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

- 0.1.2 (latest) — 2022-02-28
- 0.1.1 — 2021-11-01
- 0.1.0 — 2021-08-06
- 0.0.10 — 2021-06-06
- 0.0.9 — 2021-05-18
- 0.0.8 — 2021-03-22
- 0.0.7 — 2021-03-21
- 0.0.6 — 2021-03-21
- 0.0.5 — 2021-03-21
- 0.0.4 — 2021-03-20
- 0.0.3 — 2021-03-18
- 0.0.2 — 2021-03-17
- 0.0.1 — 2021-03-17

## README

## Valdie
[![CI](https://github.com/Rwanda-Coding-Academy/Valdie/actions/workflows/ci.yml/badge.svg)](https://github.com/Rwanda-Coding-Academy/Valdie/actions/workflows/ci.yml)
![npm](https://img.shields.io/npm/v/valdie.svg?style=flat-square)
![NPM Downloads](https://img.shields.io/npm/dw/valdie?style=flat-square)


A TypeScript and JavaScript Validation Library that  works

 - 🎉 It doesn't have any dependancy  
 - 💪 Simple api 
 - 📦 It works with TypeScript


You probably never knew you needed it but here you go.


### Getting started

```bash
npm i valdie
```
or 

```bash
yarn add valdie
```

using deno

```bash
import valdie from 'https://cdn.skypack.dev/valdie'
```


### Documentation

1. <a href="#isemail">`isEmail`</a>
2. <a href="#isInteger">`isInteger`</a>
3. <a href="#isString">`isString`</a>
4. <a href="#isURL">`isURL`</a>


### They are two ways of consuming our api

```javascript

import { isEmail } from "valdie"

console.log(isEmail("test@test.com")) // true
let { message,success } = isEmail("test@gmail.com")
```

### isInteger




```javascript
console.log(isInteger(34)) // true
```


## Maintainers

- [@veritem](https://github.com/veritem)
- [@PatrickNiyogitare28](https://github.com/PatrickNiyogitare28)

#### Licence

The project is under [MIT](https://github.com/Rwanda-Coding-Academy/Valdie/blob/main/LICENSE) Licence 2021

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