@petradb/server 1.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 +33 -0
- package/bin/main.js +6403 -0
- package/bin/petradb-server +2 -0
- package/package.json +32 -0
package/README.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# @petradb/server
|
|
2
|
+
|
|
3
|
+
Lightweight SQL database server for PetraDB.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install -g @petradb/server
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
# In-memory database on default port (5480)
|
|
15
|
+
petradb-server -m
|
|
16
|
+
|
|
17
|
+
# Persistent database
|
|
18
|
+
petradb-server mydb.petra
|
|
19
|
+
|
|
20
|
+
# Custom host and port
|
|
21
|
+
petradb-server -m -h 0.0.0.0 -p 8080
|
|
22
|
+
|
|
23
|
+
# With config file
|
|
24
|
+
petradb-server -m -c config.toml
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Documentation
|
|
28
|
+
|
|
29
|
+
Full documentation at **[petradb.dev](https://petradb.dev)**.
|
|
30
|
+
|
|
31
|
+
## License
|
|
32
|
+
|
|
33
|
+
[ISC](https://opensource.org/licenses/ISC)
|