@wireio/shared-node 1.0.20 → 1.0.22
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
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# @wireio/shared-node
|
|
2
|
+
|
|
3
|
+
Node.js-specific shared utilities for Wire applications. Extends `@wireio/shared` with server-side functionality.
|
|
4
|
+
|
|
5
|
+
Available on npm: <https://www.npmjs.com/package/@wireio/shared-node>
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
pnpm add @wireio/shared-node
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { } from "@wireio/shared-node"
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
This package is currently a placeholder that will house Node.js-specific utilities as the Wire SDK ecosystem grows. It depends on `@wireio/shared` for core utilities (logging, guards, helpers).
|
|
20
|
+
|
|
21
|
+
## Build
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
pnpm build # Hybrid ESM+CJS output to lib/esm/ and lib/cjs/
|
|
25
|
+
pnpm build:dev # Watch mode
|
|
26
|
+
pnpm test # Run tests
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Module Format
|
|
30
|
+
|
|
31
|
+
Published as a hybrid ESM+CJS package:
|
|
32
|
+
|
|
33
|
+
- ESM: `lib/esm/`
|
|
34
|
+
- CJS: `lib/cjs/`
|
|
35
|
+
|
|
36
|
+
## License
|
|
37
|
+
|
|
38
|
+
FSL-1.1-Apache-2.0
|