Skip to main content
Home

Built and signed on GitHub Actions

This module provides an efficient entity validation and facilitates communication with a database. It abstracts complexity, ensuring data integrity while storing and retrieving from a database.

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.0)

Ooneex Model for entity validation and communicate with a database

This module provides an efficient entity validation and facilitates communication with a database. It abstracts complexity, ensuring data integrity while storing and retrieving from a database. The features include strong type checking, form validation, and a simplified approach to querying the database. Ideal for projects looking for robust database handling with an emphasis on code readability and ease of use.

How to Use

import { Model, F, model } from "@ooneex/model"

@model()
class UserModel extends Model {
	id = F.uuid();
	email = F.email();
}

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/model

Import symbol

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

Import directly with a jsr specifier

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

Add Package

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

Import symbol

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

Add Package

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

Import symbol

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

Add Package

npx jsr add @ooneex/model

Import symbol

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

Add Package

bunx jsr add @ooneex/model

Import symbol

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