dphelper 4.0.0 → 4.1.0
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 +15 -31
- package/{index.js → dphelper.umd.js} +1 -1
- package/index.cjs +1 -1
- package/package.json +3 -7
- package/types/dphelper.d.ts +9 -9
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|

|
|
15
15
|

|
|
16
16
|
|
|
17
|
-

|
|
18
18
|

|
|
19
19
|

|
|
20
20
|

|
|
@@ -22,6 +22,18 @@
|
|
|
22
22
|
|
|
23
23
|
---
|
|
24
24
|
|
|
25
|
+
## Table of Contents
|
|
26
|
+
|
|
27
|
+
1. [About](#about)
|
|
28
|
+
2. [Installation](#installation)
|
|
29
|
+
3. [AI Power User Guide](#ai-power-user-guide)
|
|
30
|
+
4. [Modular Architecture](#modular-architecture)
|
|
31
|
+
5. [Browser Extension (Chrome/Edge)](#browser-extension-chromeedge)
|
|
32
|
+
6. [Environment Compatibility](#environment-compatibility)
|
|
33
|
+
7. [Security](#security)
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
25
37
|
## About
|
|
26
38
|
|
|
27
39
|
**dphelper** is a powerful, zero-dependency utility library that brings together **303 production-ready tools** for web developers, AI engineers, and DevTools creators.
|
|
@@ -58,18 +70,6 @@ If you need to use state/store management please consider:
|
|
|
58
70
|
|
|
59
71
|
---
|
|
60
72
|
|
|
61
|
-
## Table of Contents
|
|
62
|
-
|
|
63
|
-
1. [About](#about)
|
|
64
|
-
2. [Installation](#installation)
|
|
65
|
-
3. [AI Power User Guide](#ai-power-user-guide)
|
|
66
|
-
4. [Modular Architecture](#modular-architecture)
|
|
67
|
-
5. [Browser Extension (Chrome/Edge)](#browser-extension-chromeedge)
|
|
68
|
-
6. [Environment Compatibility](#environment-compatibility)
|
|
69
|
-
7. [Security](#security)
|
|
70
|
-
|
|
71
|
-
---
|
|
72
|
-
|
|
73
73
|
## Installation
|
|
74
74
|
|
|
75
75
|
```shell
|
|
@@ -81,8 +81,9 @@ npm i dphelper --save-dev
|
|
|
81
81
|
Import it precisely **once** in your entry point (e.g., `index.js`, `main.ts`, or `App.tsx`):
|
|
82
82
|
|
|
83
83
|
```js
|
|
84
|
+
// IMPORT ONCE AT YOUR APP ENTRY POINT
|
|
85
|
+
|
|
84
86
|
import "dphelper";
|
|
85
|
-
// dphelper is now available globally across your entire project!
|
|
86
87
|
```
|
|
87
88
|
|
|
88
89
|
For plain HTML/CDN:
|
|
@@ -99,21 +100,6 @@ For plain HTML/CDN:
|
|
|
99
100
|
|
|
100
101
|
---
|
|
101
102
|
|
|
102
|
-
## 🚀 New Powerful Modules
|
|
103
|
-
|
|
104
|
-
`dphelper` has expanded with powerful new modules for modern web development:
|
|
105
|
-
|
|
106
|
-
### ✨ Highlights
|
|
107
|
-
|
|
108
|
-
- **💾 IndexedDB Module**: Full-featured wrapper for IndexedDB with query builder, transactions, and bulk operations.
|
|
109
|
-
- **⚙️ Web Worker Module**: Create and manage workers, worker pools for parallel processing, and SharedWorkers for cross-tab communication.
|
|
110
|
-
- **🌍 i18n Module**: Complete internationalization with translations, pluralization, date/number formatting, and relative time.
|
|
111
|
-
- **🖼️ Image Module**: Image processing including resize, crop, filters, rotation, flip, and compositing.
|
|
112
|
-
- **🗜️ Compression Module**: Gzip, deflate, LZW compression, plus base64, URL, and HTML encoding/decoding.
|
|
113
|
-
- **🔐 Biometric Module**: WebAuthn support for fingerprint, face recognition, and secure credential management.
|
|
114
|
-
|
|
115
|
-
---
|
|
116
|
-
|
|
117
103
|
## ⚙️ Web Worker Module
|
|
118
104
|
|
|
119
105
|
```javascript
|
|
@@ -317,8 +303,6 @@ Manage your `dphelper` environment, monitor memory usage, and access documentati
|
|
|
317
303
|
|
|
318
304
|
---
|
|
319
305
|
|
|
320
|
-
---
|
|
321
|
-
|
|
322
306
|
## Environment Compatibility
|
|
323
307
|
|
|
324
308
|
`dphelper` tools are classified by their execution target to ensure stability across the stack.
|