# schm-validators

> Collection of schm validators

Latest version **0.0.2** (published 2018-08-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install schm-validators
pnpm add schm-validators
yarn add schm-validators
bun add schm-validators
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2018-08-23 |
| First published | 2018-07-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | kalvin |
| Maintainers | kalvin |

## Links

- npm: https://www.npmjs.com/package/schm-validators
- Repository: git@github.com:kalvinarts/schm-validators
- npm.io page: https://npm.io/package/schm-validators

## Recent versions

- 0.0.2 (latest) — 2018-08-23
- 0.0.1 — 2018-07-17

## README

# VALIDATORS

## Collection of [schm](https://github.com/diegohaz/schm) validators

### Installation

`npm install validators` or `yarn add validators`

### Usage

```javascript
const schema = require('schm');
const { email } = require('schm-validators');

const testEmail = schema({
  user: String,
  email: {
    type: String,
    email: true,
  }
}, email());

testEmail.validate({
  user: 'testUser',
  email: 'testUser@example.com'
});
```

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