@wxn0brp/db 0.100.2-alpha.0 → 0.100.2

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 CHANGED
@@ -6,22 +6,24 @@
6
6
 
7
7
  **Welcome to ValtheraDB - a modular, embedded database for developers who want to build their perfect data layer. With a familiar API and unparalleled flexibility, ValtheraDB empowers you to take control of your data storage.**
8
8
 
9
- ---
10
-
11
9
  ## Installation
12
10
 
13
11
  To install the package, run:
14
12
 
15
- ```bash
16
- # Using npm
17
- npm install @wxn0brp/db
13
+ - Using npm
14
+ ```bash
15
+ npm install @wxn0brp/db
16
+ ```
18
17
 
19
- # Or using yarn
20
- yarn add @wxn0brp/db
18
+ - Or using bun
19
+ ```bash
20
+ bun add @wxn0brp/db
21
+ ```
21
22
 
22
- # Or using bun
23
- bun add @wxn0brp/db
24
- ```
23
+ - Or using yarn
24
+ ```bash
25
+ yarn add @wxn0brp/db
26
+ ```
25
27
 
26
28
  ## Our Philosophy: Control and Flexibility
27
29
 
@@ -38,6 +40,8 @@ ValtheraDB is a great fit if you are:
38
40
  * A **frontend developer** creating a Progressive Web App (PWA) that needs offline capabilities or complex client-side storage.
39
41
  * An **Electron developer** who needs a straightforward way to store data locally in a desktop application.
40
42
  * A **creative coder** who wants to experiment with unconventional storage methods for your projects.
43
+ * A developer **frustrated with ORMs** who wants the data access pattern of an object database without learning SQL syntax.
44
+ * A team building an **MVP or Electron app** that will eventually outgrow in-memory arrays but doesn't need 10TB sharded infrastructure.
41
45
 
42
46
  In short, if you value flexibility and control over rigid conventions, you'll feel right at home.
43
47
 
@@ -69,4 +73,4 @@ This project is released under the [MIT License](./LICENSE).
69
73
 
70
74
  ## Contributing
71
75
 
72
- Contributions are welcome! Please submit a pull request or open an issue on our GitHub repository.
76
+ Contributions are welcome! Please submit a pull request or open an issue on our GitHub repository.
package/dist/valthera.js CHANGED
@@ -3,6 +3,7 @@ import { FileActions } from "@wxn0brp/db-storage-dir";
3
3
  import { vFileCpu } from "@wxn0brp/db-storage-dir/file/index";
4
4
  export class Valthera extends ValtheraClass {
5
5
  constructor(folder, options = {}, fileCpu = vFileCpu) {
6
+ options.format ||= "json5:x";
6
7
  super({
7
8
  ...options,
8
9
  dbAction: new FileActions(folder, options, fileCpu)
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const version = "0.100.2-alpha.0";
1
+ export const version = "0.100.2";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wxn0brp/db",
3
- "version": "0.100.2-alpha.0",
3
+ "version": "0.100.2",
4
4
  "description": "A modular, embedded database for developers who want control over their data storage.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -26,8 +26,8 @@
26
26
  ],
27
27
  "dependencies": {
28
28
  "@wxn0brp/db-client": "^0.100.0",
29
- "@wxn0brp/db-core": "^0.10.2",
30
- "@wxn0brp/db-storage-dir": "^0.101.0-alpha.1",
29
+ "@wxn0brp/db-core": "^0.10.4",
30
+ "@wxn0brp/db-storage-dir": "^0.101.0",
31
31
  "json5": "^2.2.3"
32
32
  },
33
33
  "devDependencies": {