emn178

Results 60 comments of emn178

I tried this ```JavaScript import pkg from 'js-sha3'; const { sha3_512 } = pkg; ``` it works Can you give an example project?

I use `npm run build` and got no error.

I tested in TypeScript project, and it seems to search index.d.ts as default path. Does it need to set?

run `npm install` and make sure `node_modules` exists. You can open `index.html` and `requirejs.html` in browser directly, but you have to run http server for `worker.html`.

v0.7.0 supports worker

added this feature, please try it.

https://emn178.github.io/online-tools/sha256_checksum.html switch Type from File to URL

I use this library https://github.com/rvgrinsven/blake3-js, but its distribution https://cdn.jsdelivr.net/npm/[email protected]/dist/main.min.js is not umd. I modified `module.export` to `window.blake3`, and it can be used in browser.