memory-extract 0.1.6 → 0.1.8
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 +3 -10
- package/package.json +2 -3
package/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Memory Extract
|
|
2
2
|
|
|
3
3
|
Embed files into a PNG image and open them back from the PNG alone
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npm install memory-extract
|
|
8
|
+
npm install -g memory-extract
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
## CLI
|
|
@@ -34,8 +34,6 @@ memory-pack dist App # pack ./dist → ./App.png
|
|
|
34
34
|
| `--out <path>` | Output PNG path |
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
|
|
38
|
-
|
|
39
37
|
### `memory-unpack <png> [out-dir]`
|
|
40
38
|
|
|
41
39
|
Extract the packed files from a memory PNG
|
|
@@ -45,8 +43,6 @@ memory-unpack dist.png
|
|
|
45
43
|
memory-unpack dist.png ./restored
|
|
46
44
|
```
|
|
47
45
|
|
|
48
|
-
|
|
49
|
-
|
|
50
46
|
### `memory-play <png>`
|
|
51
47
|
|
|
52
48
|
Open a memory PNG in the browser
|
|
@@ -68,8 +64,6 @@ import {
|
|
|
68
64
|
} from "memory-extract";
|
|
69
65
|
```
|
|
70
66
|
|
|
71
|
-
|
|
72
|
-
|
|
73
67
|
Node helpers
|
|
74
68
|
|
|
75
69
|
```js
|
|
@@ -77,5 +71,4 @@ import { embedMemory, encodeMemoryPayload } from "memory-extract/node";
|
|
|
77
71
|
import { guessMimeType, encodeV2Archive } from "memory-extract/payload";
|
|
78
72
|
```
|
|
79
73
|
|
|
80
|
-
`createMemoryBlob()` is for in-browser launch via blob URLs and the CLI uses HTTP or `file://`
|
|
81
|
-
|
|
74
|
+
`createMemoryBlob()` is for in-browser launch via blob URLs and the CLI uses HTTP or `file://`
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "memory-extract",
|
|
3
3
|
"description": "Tool for embedding data into PNG images",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"version": "0.1.
|
|
5
|
+
"version": "0.1.8",
|
|
6
6
|
"author": "semigarden",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
@@ -28,7 +28,6 @@
|
|
|
28
28
|
"scripts": {
|
|
29
29
|
"pack": "node tools/pack.mjs",
|
|
30
30
|
"unpack": "node tools/unpack.mjs",
|
|
31
|
-
"play": "node tools/play.mjs"
|
|
32
|
-
"test": "node --test test/memory.test.mjs"
|
|
31
|
+
"play": "node tools/play.mjs"
|
|
33
32
|
}
|
|
34
33
|
}
|