@buoy-design/db 0.1.1 → 0.1.3

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.
package/README.md ADDED
@@ -0,0 +1,24 @@
1
+ # @buoy-design/db
2
+
3
+ SQLite persistence layer for Buoy using Drizzle ORM.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install @buoy-design/db
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```typescript
14
+ import { createDatabase } from '@buoy-design/db';
15
+
16
+ const db = createDatabase('./buoy.db');
17
+ await db.saveComponents(components);
18
+ await db.saveDriftSignals(drifts);
19
+ ```
20
+
21
+ ## Links
22
+
23
+ - [Buoy CLI](https://www.npmjs.com/package/@buoy-design/cli)
24
+ - [Documentation](https://buoy.design/docs)