@crossbind/port-zstd 2.0.0-beta.63 → 2.0.0-beta.64

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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -113,13 +113,13 @@ console.log((await Zstd.decompress(frame)) === text); // true
113
113
  - For files, pass paths instead of bytes: mount the file into the module's filesystem (`autoMountFiles`) and read it in C++ with `fopen`. The `.tar.zst` opener above works that way.
114
114
 
115
115
  ### More examples
116
- Each one runs in your browser on [crossbind.dev/ports/zstd](https://crossbind.dev/ports/zstd/#usage), next to the code shown there:
116
+ Each one runs in your browser on [crossbind.dev/ports/zstd](https://crossbind.dev/ports/zstd/#examples), next to the code shown there:
117
117
 
118
118
  - [Stream a file through zstd](https://crossbind.dev/ports/zstd/#02-stream): `ZSTD_compressStream2` and `ZSTD_decompressStream`, file to file in 128 KB steps.
119
119
  - [Choose a level, a checksum and a window](https://crossbind.dev/ports/zstd/#03-parameters): `ZSTD_CCtx_setParameter`, read back with `ZSTD_getFrameHeader`.
120
120
  - [Compress small messages with a dictionary](https://crossbind.dev/ports/zstd/#04-dictionary): train with `ZDICT_trainFromBuffer`, then compress against `ZSTD_createCDict` and `ZSTD_createDDict`.
121
121
 
122
- Setup and differences per platform: [WebAssembly](https://crossbind.dev/ports/zstd/wasm/) · [Android](https://crossbind.dev/ports/zstd/android/) · [iOS](https://crossbind.dev/ports/zstd/ios/) · [macOS](https://crossbind.dev/ports/zstd/darwin/) · [Linux](https://crossbind.dev/ports/zstd/linux/) · [Windows](https://crossbind.dev/ports/zstd/win32/) · [WASI](https://crossbind.dev/ports/zstd/wasi/), which also has a command-line program built with `crossbind build -p wasi -e wasi`.
122
+ Setup for every platform: [crossbind.dev/ports/zstd](https://crossbind.dev/ports/zstd/#install). The same page has [a command-line program](https://crossbind.dev/ports/zstd/#wasi-program) built with `crossbind build -p wasi -e wasi`.
123
123
 
124
124
  ## What this build includes
125
125
  - zstd 1.5.7 as a static library, with the dictionary builder (`ZDICT_*`) compiled in.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crossbind/port-zstd",
3
- "version": "2.0.0-beta.63",
3
+ "version": "2.0.0-beta.64",
4
4
  "nativeVersion": "1.5.7",
5
5
  "description": "This package provides a libzstd library compiled with crossbind, enabling seamless usage of Zstandard (de)compression functionalities in JavaScript, WebAssembly and React Native projects.",
6
6
  "homepage": "https://crossbind.dev/ports/zstd/",