basaltdb 0.1.0 → 0.1.1
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 +10 -0
- package/package.json +19 -5
package/README.md
CHANGED
|
@@ -52,6 +52,16 @@ await db.schema(); // tables + columns
|
|
|
52
52
|
|
|
53
53
|
In Node < 18 (no global `fetch`) pass one: `new BasaltClient(url, { fetch })`.
|
|
54
54
|
|
|
55
|
+
> **Need a server?** The client/server mode talks to a running Basalt server.
|
|
56
|
+
> Set up and run the database engine from the main repo —
|
|
57
|
+
> **[basalt-db/basalt → Quickstart](https://github.com/basalt-db/basalt#quickstart)**:
|
|
58
|
+
> ```bash
|
|
59
|
+
> git clone https://github.com/basalt-db/basalt.git && cd basalt
|
|
60
|
+
> make basalt-server
|
|
61
|
+
> ./basalt-server demo_root 8090 # HTTP API + Workbench on http://127.0.0.1:8090
|
|
62
|
+
> ```
|
|
63
|
+
> (The **embedded** mode above needs no server — the engine runs in-process.)
|
|
64
|
+
|
|
55
65
|
## Query builder (ORM-lite)
|
|
56
66
|
|
|
57
67
|
A small fluent builder that generates SQL. It works the same on both `Basalt`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "basaltdb",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Official JavaScript/TypeScript client for Basalt — a from-scratch HTAP database engine. Run it embedded in-process via WebAssembly (Node & browser), or talk to a Basalt server over HTTP.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.js",
|
|
@@ -23,16 +23,30 @@
|
|
|
23
23
|
"prepublishOnly": "npm test"
|
|
24
24
|
},
|
|
25
25
|
"keywords": [
|
|
26
|
-
"database",
|
|
27
|
-
"
|
|
26
|
+
"database",
|
|
27
|
+
"sql",
|
|
28
|
+
"htap",
|
|
29
|
+
"olap",
|
|
30
|
+
"oltp",
|
|
31
|
+
"columnar",
|
|
32
|
+
"wasm",
|
|
33
|
+
"webassembly",
|
|
34
|
+
"embedded-database",
|
|
35
|
+
"basalt",
|
|
36
|
+
"in-memory",
|
|
37
|
+
"analytics"
|
|
28
38
|
],
|
|
29
39
|
"homepage": "https://github.com/basalt-db/basalt-js",
|
|
30
40
|
"repository": {
|
|
31
41
|
"type": "git",
|
|
32
42
|
"url": "git+https://github.com/basalt-db/basalt-js.git"
|
|
33
43
|
},
|
|
34
|
-
"bugs": {
|
|
44
|
+
"bugs": {
|
|
45
|
+
"url": "https://github.com/basalt-db/basalt-js/issues"
|
|
46
|
+
},
|
|
35
47
|
"license": "MIT",
|
|
36
|
-
"engines": {
|
|
48
|
+
"engines": {
|
|
49
|
+
"node": ">=18"
|
|
50
|
+
},
|
|
37
51
|
"sideEffects": false
|
|
38
52
|
}
|