utilitas 2000.3.14 → 2000.3.16
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 +9 -12
- package/dist/utilitas.lite.mjs +1 -1
- package/dist/utilitas.lite.mjs.map +1 -1
- package/lib/alan.mjs +5 -5
- package/lib/encryption.mjs +28 -15
- package/lib/manifest.mjs +1 -2
- package/lib/speech.mjs +2 -2
- package/lib/vision.mjs +83 -180
- package/package.json +1 -2
package/README.md
CHANGED
|
@@ -24,7 +24,7 @@ Works in Node.js and modern browsers.
|
|
|
24
24
|
| _NEED | Array | js-tiktoken,OpenAI |
|
|
25
25
|
| default | AsyncFunction | options |
|
|
26
26
|
| ATTACHMENTS | String | [ATTACHMENTS] |
|
|
27
|
-
|
|
|
27
|
+
| CLOUD_OPUS_45 | String | claude-opus-4.5 |
|
|
28
28
|
| CODE_INTERPRETER | Object | {"type":"code_interpreter"} |
|
|
29
29
|
| DEEPSEEK_R1 | String | deepseek-r1 |
|
|
30
30
|
| FEATURE_ICONS | Object | {"audio":"📣","deepsearch":"🔍","fast":"⚡️","finetune":"🔧","image":"🎨","json":"📊","reasoning":"🧠","tools":"🧰","vision":"👁️"} |
|
|
@@ -214,7 +214,7 @@ Works in Node.js and modern browsers.
|
|
|
214
214
|
|
|
215
215
|
| symbol | type | params / value |
|
|
216
216
|
| :--- | :--- | :--- |
|
|
217
|
-
| _NEED | Array | @google-cloud/speech,@google-cloud/text-to-speech
|
|
217
|
+
| _NEED | Array | @google-cloud/speech,@google-cloud/text-to-speech,google-gax |
|
|
218
218
|
| aesCreateIv | Function | options |
|
|
219
219
|
| aesCreateKey | Function | options |
|
|
220
220
|
| aesDecrypt | Function | any, options |
|
|
@@ -222,7 +222,9 @@ Works in Node.js and modern browsers.
|
|
|
222
222
|
| defaultAlgorithm | String | sha256 |
|
|
223
223
|
| defaultEncryption | String | aes-256-gcm |
|
|
224
224
|
| digestObject | Function | object, algorithm |
|
|
225
|
-
|
|
|
225
|
+
| getGoogleApiKeyCredentials | AsyncFunction | options |
|
|
226
|
+
| getGoogleAuthByCredentials | AsyncFunction | keyFilename |
|
|
227
|
+
| getGoogleAuthTokenByAuth | AsyncFunction | auth |
|
|
226
228
|
| getSortedQueryString | Function | obj |
|
|
227
229
|
| hash | Function | string, algorithm |
|
|
228
230
|
| hashFile | Function | filename, algorithm |
|
|
@@ -584,19 +586,14 @@ Works in Node.js and modern browsers.
|
|
|
584
586
|
|
|
585
587
|
| symbol | type | params / value |
|
|
586
588
|
| :--- | :--- | :--- |
|
|
587
|
-
| _NEED | Array |
|
|
588
|
-
|
|
|
589
|
+
| _NEED | Array | office-text-extractor,pdfjs-dist,tesseract.js |
|
|
590
|
+
| default | AsyncFunction | options |
|
|
589
591
|
| getPdfInfo | AsyncFunction | file, options |
|
|
590
|
-
| getPdfPage | AsyncFunction | doc,
|
|
591
|
-
| getPdfPages | AsyncFunction | doc |
|
|
592
|
+
| getPdfPage | AsyncFunction | doc, pages |
|
|
592
593
|
| init | AsyncFunction | options |
|
|
594
|
+
| ocr | AsyncFunction | file, options |
|
|
593
595
|
| ocrImage | AsyncFunction | image, options |
|
|
594
|
-
| ocrImageGoogle | AsyncFunction | image, options |
|
|
595
|
-
| ocrImageTesseract | AsyncFunction | image, options |
|
|
596
596
|
| parseOfficeFile | AsyncFunction | source, options |
|
|
597
|
-
| read | AsyncFunction | image, options |
|
|
598
|
-
| readAll | AsyncFunction | image, options |
|
|
599
|
-
| see | AsyncFunction | image, options |
|
|
600
597
|
|
|
601
598
|
### [web](./lib/web.mjs)
|
|
602
599
|
|