@bunnykit/orm 0.1.6 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +4 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -8,13 +8,14 @@
8
8
  >
9
9
  > npm, yarn, pnpm, and Node.js runtime usage are not supported.
10
10
 
11
- An **Eloquent-inspired ORM** built specifically for [Bun](https://bun.sh)'s native `bun:sql` client. Supports **SQLite**, **MySQL**, and **PostgreSQL** with full TypeScript typing, a chainable query builder, schema migrations, model observers, and polymorphic relations.
11
+ An **Eloquent-inspired ORM** built specifically for [Bun](https://bun.sh)'s native `bun:sql` client. It ships with **zero runtime dependencies** and supports **SQLite**, **MySQL**, and **PostgreSQL** with full TypeScript typing, a chainable query builder, schema migrations, model observers, polymorphic relations, and an interactive REPL.
12
12
 
13
13
  ---
14
14
 
15
15
  ## Features
16
16
 
17
17
  - ðŸ”Ĩ **Bun-native** — Built on top of `bun:sql` for maximum performance
18
+ - ðŸŠķ **Zero runtime dependencies** — No package lock-in beyond Bun itself
18
19
  - ðŸ“Ķ **Multi-database** — SQLite, MySQL, and PostgreSQL support
19
20
  - 🔷 **Fully Typed** — Written in TypeScript with generics everywhere
20
21
  - 🏗ïļ **Schema Builder** — Programmatic table creation, indexes, foreign keys
@@ -23,6 +24,7 @@ An **Eloquent-inspired ORM** built specifically for [Bun](https://bun.sh)'s nati
23
24
  - 🔗 **Relations** — Standard, many-to-many, polymorphic, through, one-of-many, and relation queries
24
25
  - 👁ïļ **Observers** — Lifecycle hooks (`creating`, `created`, `updating`, `updated`, etc.)
25
26
  - 🚀 **Migrations & CLI** — Create, run, and rollback migrations from the command line
27
+ - 💎 **REPL** — Inspect models and run queries interactively with `bunny repl`
26
28
  - ⚡ **Streaming** — `chunk`, `cursor`, `each`, and `lazy` for memory-efficient large dataset processing
27
29
 
28
30
  ---
@@ -305,7 +307,7 @@ Start an interactive Bunny session with the ORM already loaded:
305
307
  bunny repl
306
308
  ```
307
309
 
308
- The REPL exposes `Model`, `Schema`, `Connection`, `db`, and a `Models` map. Any model files under `modelsPath` are loaded automatically and also registered by class name on the global scope. If no project config is present, it starts against an in-memory SQLite database so you can still experiment immediately.
310
+ The REPL exposes `Model`, `Schema`, `Connection`, `db`, and a `Models` map. Any model files under `modelsPath` are loaded automatically and also registered by class name on the global scope. If no project config is present, it starts against an in-memory SQLite database so you can still experiment immediately. This makes it useful for quick inspection, ad hoc queries, and schema experiments without adding any dependencies to your app.
309
311
 
310
312
  ---
311
313
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bunnykit/orm",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "An Eloquent-inspired ORM for Bun's native SQL client supporting SQLite, MySQL, and PostgreSQL.",
5
5
  "license": "MIT",
6
6
  "packageManager": "bun@1.3.12",