{"library":"front-orm","type":"library","category":null,"description":"front-orm (v0.3.0-beta.9) is a client-side ORM for building reactive data layers with RESTful APIs. It provides an EntityManager that manages model definitions, field types (PrimaryKey, StringField, NumberField, CollectionField, EntityField), and auto-fetching of missing properties. Unlike alternatives like remult or redux-orm, front-orm integrates reactivity via an optional setReactivity callback (e.g., using watch-object) and supports lazy loading, CRUD hooks, and a flush-based commit pattern. It is in beta, with monthly releases, and is best suited for small apps and prototypes. Requires a server that can signal data changes (e.g., WebSockets) for full real-time support.","language":"javascript","status":"active","version":"0.3.0-beta.9","tags":["javascript","front","front-end","restful","rest","orm","js","typescript"],"last_verified":"Thu Jun 04","install":[{"cmd":"npm install front-orm","imports":["import { EntityManager } from 'front-orm'","const PrimaryKey = em.defaultClasses.fields.PrimaryKey; const StringField = em.defaultClasses.fields.StringField; const NumberField = em.defaultClasses.fields.NumberField; const CollectionField = em.defaultClasses.fields.CollectionField; const EntityField = em.defaultClasses.fields.EntityField","const Collection = em.defaultClasses.types.Collection; const Entity = em.defaultClasses.types.Entity"]},{"cmd":"yarn add front-orm","imports":[]},{"cmd":"pnpm add front-orm","imports":[]}],"homepage":"https://github.com/bd2051/front-orm#readme","github":"https://github.com/bd2051/front-orm","docs":null,"changelog":null,"pypi":null,"npm":"front-orm","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}