Leveraging Rust to Bundle Node Native Modules and Wasm into an Isomorphic NPM Package

from blog nickb.dev, | ↗ original
I recently published highwayhasher as an npm package. Highwayhasher exposes Google’s HighwayHash to the JS world through the pure Rust reimplementation. There will be a lot to unpack, so here’s a rundown of the library’s features that we’ll cover: ✔ Isomorphic: Run on node and in the browser with the same API ✔ Fast: Generate hashes at over 700...