Skip to main content
Home

Built and signed on GitHub Actions

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

This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
100%
Published
a year 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

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@ooneex/validation

Import symbol

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

Import directly with a jsr specifier

import * as validation from "jsr:@ooneex/validation";

Add Package

pnpm i jsr:@ooneex/validation
or (using pnpm 10.8 or older)
pnpm dlx jsr add @ooneex/validation

Import symbol

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

Add Package

yarn add jsr:@ooneex/validation
or (using Yarn 4.8 or older)
yarn dlx jsr add @ooneex/validation

Import symbol

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

Add Package

npx jsr add @ooneex/validation

Import symbol

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

Add Package

bunx jsr add @ooneex/validation

Import symbol

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