@dcmjs-org/parser 0.0.0-bootstrap.0 → 1.0.0-beta.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 +18 -0
- package/dist/index.cjs +3224 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.mjs +3208 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +23 -3
package/README.md
CHANGED
|
@@ -1 +1,19 @@
|
|
|
1
1
|
# @dcmjs-org/parser
|
|
2
|
+
|
|
3
|
+
The event-stream reading side of dcmjs: the listener contract
|
|
4
|
+
(`EventStreamListener`, the event vocabulary, `CONTRACT_VERSION`), the
|
|
5
|
+
collecting and naturalizing listeners (`CollectorListener`,
|
|
6
|
+
`NaturalizedListener`), the generators that turn inputs into contract events
|
|
7
|
+
(`fromPart10`, `fromPart10Stream`, `fromDicomWebJson`, `fromDataSet`), the
|
|
8
|
+
shared emit helpers, the async-iterator adapter, and the element-decode core
|
|
9
|
+
(`decodeCore`) the streaming reader parses with.
|
|
10
|
+
|
|
11
|
+
Everything here builds on `@dcmjs-org/core`. The package does not depend on
|
|
12
|
+
`@dcmjs-org/legacy`.
|
|
13
|
+
|
|
14
|
+
## Build
|
|
15
|
+
|
|
16
|
+
`pnpm run build` writes `dist/index.mjs` (ES module) and `dist/index.cjs`
|
|
17
|
+
(CommonJS). The published package loads these files, so it works in plain
|
|
18
|
+
Node without a bundler. Inside the workspace, `main` points at `src/` so that
|
|
19
|
+
the tests run on the source.
|