bokuweb/zstd-wasm

Not working with Node js (module) and exports unclear

Awendel opened this issue · 1 comments

this project does not work for Node js via the newer ES6 Module import.

When importing via:

import * as zstd from "@bokuweb/zstd-wasm"

as suggested in the docs,
it only exposed the compress / decompress API

MISSING are the following:
• compressUsingDict
• decompressUsingDict
• createCCtx
• createDCtx

please provide a simple vanilla js test example of how to access those resources in Node js when using as module