@e-mc/module 0.13.10 → 0.14.1
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 -9
- package/index.js +293 -281
- package/package.json +2 -5
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @e-mc/module
|
|
2
2
|
|
|
3
|
-
* NodeJS
|
|
3
|
+
* NodeJS 20 (Minimum 18)
|
|
4
4
|
* ES2022
|
|
5
5
|
|
|
6
6
|
## General Usage
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
## Interface
|
|
11
11
|
|
|
12
|
-
* [View Source](https://www.unpkg.com/@e-mc/types@0.
|
|
12
|
+
* [View Source](https://www.unpkg.com/@e-mc/types@0.14.1/lib/index.d.ts)
|
|
13
13
|
|
|
14
14
|
```typescript
|
|
15
15
|
import type { LogStatus } from "./squared";
|
|
@@ -192,7 +192,7 @@ interface ModuleConstructor {
|
|
|
192
192
|
asString(value: unknown, cacheKey?: boolean | "throws"): string;
|
|
193
193
|
asHash(data: BinaryLike, options?: AsHashOptions): string;
|
|
194
194
|
asHash(data: BinaryLike, algorithm?: string, options?: AsHashOptions): string;
|
|
195
|
-
asHash(data: BinaryLike, algorithm?: string, encoding?:
|
|
195
|
+
asHash(data: BinaryLike, algorithm?: string, encoding?: BufferEncoding): string;
|
|
196
196
|
readHash(value: string | URL, options?: ReadHashOptions): Promise<string>;
|
|
197
197
|
toPosix(value: unknown, normalize: boolean): string;
|
|
198
198
|
toPosix(value: unknown, filename?: string, normalize?: boolean): string;
|
|
@@ -433,12 +433,12 @@ interface LoggerModule {
|
|
|
433
433
|
|
|
434
434
|
## References
|
|
435
435
|
|
|
436
|
-
- https://www.unpkg.com/@e-mc/types@0.
|
|
437
|
-
- https://www.unpkg.com/@e-mc/types@0.
|
|
438
|
-
- https://www.unpkg.com/@e-mc/types@0.
|
|
439
|
-
- https://www.unpkg.com/@e-mc/types@0.
|
|
440
|
-
- https://www.unpkg.com/@e-mc/types@0.
|
|
441
|
-
- https://www.unpkg.com/@e-mc/types@0.
|
|
436
|
+
- https://www.unpkg.com/@e-mc/types@0.14.1/lib/squared.d.ts
|
|
437
|
+
- https://www.unpkg.com/@e-mc/types@0.14.1/lib/core.d.ts
|
|
438
|
+
- https://www.unpkg.com/@e-mc/types@0.14.1/lib/logger.d.ts
|
|
439
|
+
- https://www.unpkg.com/@e-mc/types@0.14.1/lib/module.d.ts
|
|
440
|
+
- https://www.unpkg.com/@e-mc/types@0.14.1/lib/node.d.ts
|
|
441
|
+
- https://www.unpkg.com/@e-mc/types@0.14.1/lib/settings.d.ts
|
|
442
442
|
|
|
443
443
|
* https://www.npmjs.com/package/@types/node
|
|
444
444
|
* https://www.npmjs.com/package/file-type
|