A simple JavaScript ORM designed to work with the pckg framework. Version 0.0.5, early development. Provides entity/record/repository pattern for CRUD operations, supports REST APIs and HTTPQL queries. Key differentiator: lightweight, minimalistic, closely tied to pckg ecosystem. Not suitable for production use outside pckg.
npm install pckg-ormNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Defines Record and Entity classes for a 'countries' resource, then fetches the first 10 European countries.
Use correct subpath import: import { Entity } from 'pckg-orm/src/orm'Use import syntax or .mjs extension.
Lock version and expect breaking changes.
Create subclasses as shown in the README.
Create a custom declaration file or use // @ts-ignore.
Use 'pckg-orm/src/orm' in the import path.
Ensure import: import { Entity, Record } from 'pckg-orm/src/orm'No dependency data recorded yet.