utilitas 1992.1.9 → 1992.1.11
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 +8 -1
- package/dist/utilitas.lite.mjs +1 -1
- package/dist/utilitas.lite.mjs.map +1 -1
- package/index.mjs +1 -13
- package/lib/bot.mjs +8 -3
- package/lib/cache.mjs +4 -2
- package/lib/dbio.mjs +4 -2
- package/lib/email.mjs +7 -4
- package/lib/manifest.mjs +9 -10
- package/lib/network.mjs +5 -7
- package/lib/sentinel.mjs +4 -2
- package/lib/sms.mjs +5 -3
- package/lib/utilitas.mjs +5 -3
- package/package.json +9 -10
package/README.md
CHANGED
|
@@ -14,6 +14,7 @@ Works in Node.js and modern browsers.
|
|
|
14
14
|
| symbol | type | params / value |
|
|
15
15
|
| :--- | :--- | :--- |
|
|
16
16
|
| default | AsyncFunction | options |
|
|
17
|
+
| _NEED | Array | telegraf |
|
|
17
18
|
| end | AsyncFunction | options |
|
|
18
19
|
| init | AsyncFunction | options |
|
|
19
20
|
| send | AsyncFunction | chatId, content, options |
|
|
@@ -23,6 +24,7 @@ Works in Node.js and modern browsers.
|
|
|
23
24
|
| symbol | type | params / value |
|
|
24
25
|
| :--- | :--- | :--- |
|
|
25
26
|
| default | AsyncFunction | options |
|
|
27
|
+
| _NEED | Array | ioredis |
|
|
26
28
|
| init | AsyncFunction | options |
|
|
27
29
|
|
|
28
30
|
### [callosum](./lib/callosum.mjs)
|
|
@@ -57,6 +59,7 @@ Works in Node.js and modern browsers.
|
|
|
57
59
|
| symbol | type | params / value |
|
|
58
60
|
| :--- | :--- | :--- |
|
|
59
61
|
| default | AsyncFunction | options |
|
|
62
|
+
| _NEED | Array | mysql2 |
|
|
60
63
|
| assembleInsert | Function | table, data, options |
|
|
61
64
|
| assembleQuery | Function | table, options |
|
|
62
65
|
| assembleSet | Function | data, options |
|
|
@@ -87,6 +90,7 @@ Works in Node.js and modern browsers.
|
|
|
87
90
|
| symbol | type | params / value |
|
|
88
91
|
| :--- | :--- | :--- |
|
|
89
92
|
| default | AsyncFunction | options |
|
|
93
|
+
| _NEED | Array | form-data,mailgun.js,node-mailjet |
|
|
90
94
|
| getSenderName | Function | |
|
|
91
95
|
| init | AsyncFunction | options |
|
|
92
96
|
| rawSend | AsyncFunction | data |
|
|
@@ -129,6 +133,7 @@ Works in Node.js and modern browsers.
|
|
|
129
133
|
|
|
130
134
|
| symbol | type | params / value |
|
|
131
135
|
| :--- | :--- | :--- |
|
|
136
|
+
| _NEED | Array | fast-geoip,ping |
|
|
132
137
|
| getCurrentPosition | AsyncFunction | |
|
|
133
138
|
| httping | AsyncFunction | url, options |
|
|
134
139
|
| isLocalhost | Function | host |
|
|
@@ -141,6 +146,7 @@ Works in Node.js and modern browsers.
|
|
|
141
146
|
| symbol | type | params / value |
|
|
142
147
|
| :--- | :--- | :--- |
|
|
143
148
|
| default | AsyncFunction | options |
|
|
149
|
+
| _NEED | Array | @sentry/node |
|
|
144
150
|
| init | AsyncFunction | options |
|
|
145
151
|
|
|
146
152
|
### [shekel](./lib/shekel.mjs)
|
|
@@ -175,6 +181,7 @@ Works in Node.js and modern browsers.
|
|
|
175
181
|
| symbol | type | params / value |
|
|
176
182
|
| :--- | :--- | :--- |
|
|
177
183
|
| default | AsyncFunction | options |
|
|
184
|
+
| _NEED | Array | twilio,telesignsdk |
|
|
178
185
|
| init | AsyncFunction | options |
|
|
179
186
|
| send | AsyncFunction | to, body |
|
|
180
187
|
|
|
@@ -285,7 +292,6 @@ Works in Node.js and modern browsers.
|
|
|
285
292
|
| hexEncode | Function | object, isBuf |
|
|
286
293
|
| humanReadableBoolean | Function | any |
|
|
287
294
|
| ignoreErrFunc | AsyncFunction | func, options |
|
|
288
|
-
| importModule | AsyncFunction | name |
|
|
289
295
|
| inBrowser | Function | |
|
|
290
296
|
| insensitiveCompare | Function | strA, strB, options |
|
|
291
297
|
| is | Function | type, any |
|
|
@@ -300,6 +306,7 @@ Works in Node.js and modern browsers.
|
|
|
300
306
|
| mask | Function | str, options |
|
|
301
307
|
| matchVersion | Function | curVer, tgtVer |
|
|
302
308
|
| mergeAtoB | Function | objA, objB, o |
|
|
309
|
+
| need | AsyncFunction | name, options |
|
|
303
310
|
| newError | Function | msg, status, opt |
|
|
304
311
|
| once | Function | fn, context |
|
|
305
312
|
| parseJson | Function | any, fallback |
|