@trajs/platform-browser
v0.0.0-alpha.4
Published
The browser implementations of the trajs platform services.
Readme
@trajs/platform-browser
The implementations of @trajs/utils's services that a program
computing anywhere with WebAssembly runs with.
BrowserCompression— a gzip or deflate frame the browser's ownCompressionStreamwrites andDecompressionStreamreads, and a zstd frame carried by the WebAssembly codec@structured-world/structured-zstd.BrowserByteStore— the bytes a page keeps between readings, the chunks of a sequence in thesessionStorageof the tab, kept under a prefix so the page shares none of them.BrowserStreamHash— the SHA-256 digest WebCrypto reads, and the BLAKE2b-512 and XXH32 the JavaScript hash of@trajs/utilscomputes.BrowserServices— the codecs as one layer, provided with where a page keeps a trajectory: the compression and the hash of this package, and the CRC-32 of@trajs/utils, since a page states no CRC of its own.
