feat/deno (#219)

* update bun version

* fix module manager's em reference

* add basic deno example

* finalize
This commit is contained in:
dswbx
2025-07-22 20:32:07 +02:00
committed by GitHub
parent ca55503e66
commit bebf9e0411
6 changed files with 33 additions and 2 deletions
+14
View File
@@ -0,0 +1,14 @@
import { createRuntimeApp } from "bknd/adapter";
const app = await createRuntimeApp({
connection: {
url: "file:./data.db",
},
adminOptions: {
// currently needs a hosted version of the static assets
assetsPath: "https://cdn.bknd.io/bknd/static/0.15.0-rc.9/",
},
});
// @ts-ignore
Deno.serve(app.fetch);
+7
View File
@@ -0,0 +1,7 @@
{
"name": "bknd-deno-example",
"private": true,
"dependencies": {
"bknd": "file:../../app"
}
}