@moltendb-web/angular 1.1.0 → 1.1.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 +18 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -4,6 +4,24 @@ The official Angular integration for MoltenDb, providing a seamless, highly reac
|
|
|
4
4
|
|
|
5
5
|
This package bridges the gap between MoltenDb's powerful Web Worker/WASM engine and your Angular UI, offering auto-updating data resources, built-in loading states, and elegant functional dependency injection.
|
|
6
6
|
|
|
7
|
+
Beyond querying a database, you can use MoltenDb as a **persistent state manager** for your Angular application. Because all state is written to OPFS, it survives page reloads, browser crashes, and unexpected connection loss — your users will never lose their work.
|
|
8
|
+
|
|
9
|
+
> **Requirements:** Angular **17 or higher** is required. This library uses Angular Signals and standalone APIs introduced in Angular 17. If this library generates enough interest, a legacy Angular library using RxJS may be created in the future.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## Demo
|
|
14
|
+
|
|
15
|
+
See the library in action with a real-world demo application:
|
|
16
|
+
|
|
17
|
+
- 🔗 **Demo repo:** [github.com/maximilian27/moltendb-angular](https://github.com/maximilian27/moltendb-angular)
|
|
18
|
+
- ⚡ **StackBlitz:** [Open in StackBlitz](https://stackblitz.com/~/github.com/maximilian27/moltendb-angular)
|
|
19
|
+
- 🌐 **Live demo:** [moltendb-angular.maximilian-both27.workers.dev/laptops](https://moltendb-angular.maximilian-both27.workers.dev/laptops)
|
|
20
|
+
|
|
21
|
+
The demo app showcases two real-world scenarios:
|
|
22
|
+
- **`/laptops`** — A fully-featured data table with filtering, sorting, column visibility, field projection, and reactive summary stats using `moltenDbResource`.
|
|
23
|
+
- **`/stress-test`** — A benchmarking page measuring MoltenDB CRUD performance (bulk writes, reads, filtered/sorted queries, updates, and deletes) displayed as ops/sec.
|
|
24
|
+
|
|
7
25
|
---
|
|
8
26
|
|
|
9
27
|
## Installation
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moltendb-web/angular",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "Official Angular Signals wrapper for MoltenDb",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "Maximilian Both <maximilian.both27@outlook.com>",
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
"@angular/core": ">=17.0.0"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@moltendb-web/core": "^1.1.
|
|
17
|
-
"@moltendb-web/query": "^1.1.
|
|
16
|
+
"@moltendb-web/core": "^1.1.2",
|
|
17
|
+
"@moltendb-web/query": "^1.1.2",
|
|
18
18
|
"tslib": "^2.3.0"
|
|
19
19
|
},
|
|
20
20
|
"module": "fesm2022/moltendb-web-angular.mjs",
|