# ragsco_validator

> validates costum inputs

Latest version **1.0.1** (published 2023-11-29) · ISC license · 0 weekly downloads

## Install

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

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2023-11-29 |
| First published | 2023-11-29 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | ragsco |
| Maintainers | ragsco |
| Keywords | div |

## Links

- npm: https://www.npmjs.com/package/ragsco_validator
- npm.io page: https://npm.io/package/ragsco_validator

## Recent versions

- 1.0.1 (latest) — 2023-11-29
- 1.0.0 — 2023-11-29

## README

Example code:

import { validate } from './validator.js';

console.log(validate('test@test.com', 'email')); // Output: true
console.log(validate('https://www.test.com', 'url')); // Output: true
console.log(validate('Password@123', 'password')); // Output: true
console.log(validate('12345', 'number')); // Output: true
console.log(validate('notvalid', 'number')); // Output: false

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