New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@ezorm/core

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ezorm/core

Decorator-based model metadata and validation primitives for Ezorm.

latest
Source
npmnpm
Version
1.1.2
Version published
Maintainers
1
Created
Source

@ezorm/core

@ezorm/core provides Ezorm's decorator-based model metadata, validation, indices, and relation declarations.

Install

npm install @ezorm/core

Usage

import { Field, Model, PrimaryKey } from "@ezorm/core";

@Model({
  table: "todos",
  cache: {
    backend: "inherit",
    ttlSeconds: "inherit"
  }
})
class Todo {
  @PrimaryKey()
  @Field.string()
  id!: string;

  @Field.string()
  title!: string;
}

cache is optional model metadata for the direct Node ORM read cache. Models can inherit the client default, disable caching with backend: false, or override the backend and ttlSeconds per model.

FAQs

Package last updated on 28 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts