axiodb 22.13.1 → 22.15.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 +26 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -93,15 +93,39 @@ Set `CHOICE` before piping to select without the menu:
|
|
|
93
93
|
curl -fsSL https://raw.githubusercontent.com/nexoral/AxioDB/main/cli/Scripts/install.sh | CHOICE=2 bash
|
|
94
94
|
|
|
95
95
|
# GUI (Desktop app) — Windows
|
|
96
|
-
irm https://raw.githubusercontent.com/nexoral/AxioDB/main/cli/Scripts/install.ps1 |
|
|
96
|
+
$env:CHOICE=2; irm https://raw.githubusercontent.com/nexoral/AxioDB/main/cli/Scripts/install.ps1 | iex
|
|
97
97
|
|
|
98
|
-
# Both CLI + GUI
|
|
98
|
+
# Both CLI + GUI — Linux
|
|
99
99
|
curl -fsSL https://raw.githubusercontent.com/nexoral/AxioDB/main/cli/Scripts/install.sh | CHOICE=3 bash
|
|
100
|
+
|
|
101
|
+
# Both CLI + GUI — Windows
|
|
102
|
+
$env:CHOICE=3; irm https://raw.githubusercontent.com/nexoral/AxioDB/main/cli/Scripts/install.ps1 | iex
|
|
100
103
|
```
|
|
101
104
|
|
|
102
105
|
You can also download installers directly from
|
|
103
106
|
[GitHub Releases](https://github.com/nexoral/AxioDB/releases).
|
|
104
107
|
|
|
108
|
+
#### Start a temporary local server
|
|
109
|
+
|
|
110
|
+
The CLI can start a disposable local AxioDB server for development. It installs
|
|
111
|
+
the published `axiodb` npm package into a temporary directory, keeps the server
|
|
112
|
+
attached to the terminal, and deletes its data when you press `Ctrl+C`.
|
|
113
|
+
Node.js ≥20 and npm are required; the command offers platform-specific
|
|
114
|
+
installation help when they are missing.
|
|
115
|
+
|
|
116
|
+
```bash
|
|
117
|
+
axiodb serve http # HTTP API only: http://localhost:27018/api
|
|
118
|
+
axiodb serve tcp # TCP without authentication: axiodb://localhost:27019
|
|
119
|
+
axiodb serve tcp-auth # TCP authentication only
|
|
120
|
+
axiodb serve full # HTTP + authenticated TCP, GUI disabled
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
The HTTP and TCP ports are fixed at `27018` and `27019`. The `tcp-auth` preset
|
|
124
|
+
seeds `admin/admin`, but the server requires the first password change through
|
|
125
|
+
HTTP/GUI and TCP currently has no password-change command, so this preset is
|
|
126
|
+
intended for inspecting the authentication server setup rather than immediate
|
|
127
|
+
authenticated client access.
|
|
128
|
+
|
|
105
129
|
|
|
106
130
|
## Basic CRUD
|
|
107
131
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "axiodb",
|
|
3
|
-
"version": "22.
|
|
3
|
+
"version": "22.15.1",
|
|
4
4
|
"description": "The embedded database for Node.js. Replaces SQLite, LowDB, NeDB & raw JSON files with MongoDB-style queries, ACID transactions, zero native dependencies, and built-in InMemoryCache. No compilation, no platform issues. Perfect for desktop apps, CLI tools, and embedded systems.",
|
|
5
5
|
"main": "./lib/config/DB.js",
|
|
6
6
|
"types": "./lib/config/DB.d.ts",
|