Skip to main content

Ooneex Validation is a high utility error handling and validation tool designed for effective server-side and client-side development.

Works with
This package works with Bun
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Browsers
JSR Score
100%
Published
2 months ago (1.0.4)

Ooneex Validation

Ooneex Validation is a high utility error handling and validation tool designed for effective server-side and client-side development. Built using TypeScript, it provides developers with the ability to simplify complex validation checks and error handling mechanisms into a cleaner, more manageable codebase. It allows you to throw custom exceptions with status codes and additional information, facilitating the debugging process.

How to Use

import { AssertEmail } from '@ooneex/validation';

const emailValidator = new AssertEmail();
const result = emailValidator.validate("example@example.com");

if (result.success) {
  // ...
}

License

MIT

Built and signed on
GitHub Actions
View transparency log

Add Package

deno add @ooneex/validation

Import symbol

import * as mod from "@ooneex/validation";

Add Package

npx jsr add @ooneex/validation

Import symbol

import * as mod from "@ooneex/validation";

Add Package

yarn dlx jsr add @ooneex/validation

Import symbol

import * as mod from "@ooneex/validation";

Add Package

pnpm dlx jsr add @ooneex/validation

Import symbol

import * as mod from "@ooneex/validation";

Add Package

bunx jsr add @ooneex/validation

Import symbol

import * as mod from "@ooneex/validation";