# @skapxd/validate

> Value validation in modern format

Latest version **2.0.5** (published 2022-04-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install @skapxd/validate
pnpm add @skapxd/validate
yarn add @skapxd/validate
bun add @skapxd/validate
```

## 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 | 2.0.5 |
| Published | 2022-04-24 |
| First published | 2022-02-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 286.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | skapxd |
| Maintainers | skapxd |
| Keywords | regex, validate |

## Links

- npm: https://www.npmjs.com/package/@skapxd/validate
- Repository: https://github.com/skapxd/validate
- npm.io page: https://npm.io/package/@skapxd/validate

## Dependencies (2)

- [corejs](https://npm.io/package/corejs.md) ^1.0.0
- [core-js](https://npm.io/package/core-js.md) ^3.21.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.5 (latest) — 2022-04-24
- 2.0.4 — 2022-04-24
- 2.0.3 — 2022-02-24
- 2.0.2 — 2022-02-24
- 2.0.1 — 2022-02-16
- 2.0.0 — 2022-02-09

## README

��# How to use 

```js
import { regexValidate, MapOfRegExpValidate } from "@skapxd/regex-validate";

/** @type {boolean} */
const isValid = regexValidate({
    stringToValidate: "test@test.test",
    regExp: MapOfRegExpValidate.email, // any regular expression -> /any/ 
});

console.log({ isValid });
```

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