paulmillr/noble-hashes

Support deno

paulmillr opened this issue · 1 comments

src files have imports such as import {sha2} from './sha2.js'. JS files can't be imported in Deno. TS files can't be imported in node/browser.

Another thing is crypto import in crypto.ts. Should be replaced with node:crypto - but that's easy.

Actually supported through npm: specifier, see readme