@abasb75/dicom-parser 0.0.0-test → 0.0.0-test0
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 +7 -3
- package/index-min.js +1 -0
- package/index.d.ts +276 -10
- package/index.js +4903 -45
- package/package.json +35 -23
- package/Dataset.d.ts +0 -11
- package/Dataset.js +0 -78
- package/Loader.d.ts +0 -8
- package/Loader.js +0 -65
- package/Parser.d.ts +0 -29
- package/Parser.js +0 -225
- package/Tag.d.ts +0 -17
- package/Tag.js +0 -99
- package/Value.d.ts +0 -5
- package/Value.js +0 -16
- package/dic.d.ts +0 -8
- package/dic.js +0 -41581
- package/enums/TagsDictionary.d.ts +0 -8
- package/enums/TagsDictionary.js +0 -3612
- package/enums/TransferSyntax.d.ts +0 -17
- package/enums/TransferSyntax.js +0 -19
- package/enums/ValueRepresentations.d.ts +0 -2
- package/enums/ValueRepresentations.js +0 -4
- package/enums/index.d.ts +0 -12
- package/enums/index.js +0 -11
- package/types.d.ts +0 -5
- package/types.js +0 -2
package/README.md
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
# @abasb75/dicom-parser
|
|
2
2
|
|
|
3
3
|
```sh
|
|
4
|
-
npm i @abasb75/dicom-parser --save
|
|
4
|
+
npm i @abasb75/dicom-parser pako --save
|
|
5
|
+
npm i @types/pako --save-dev
|
|
5
6
|
```
|
|
6
7
|
|
|
8
|
+
# Demo
|
|
7
9
|
|
|
8
|
-
|
|
10
|
+
<a href="https://abasb75.github.io/dicom-parser/">demo link</a>
|
|
11
|
+
|
|
12
|
+
# Usage
|
|
9
13
|
|
|
10
14
|
1. For Download dicom and parse from url:
|
|
11
15
|
|
|
@@ -49,7 +53,7 @@ import { parse } from "@abasb75/dicom-parser";
|
|
|
49
53
|
|
|
50
54
|
...
|
|
51
55
|
|
|
52
|
-
const dataset = parse(arrayBuffer);
|
|
56
|
+
const dataset = parse(arrayBuffer); // ArrayBuffer
|
|
53
57
|
|
|
54
58
|
```
|
|
55
59
|
|