Closed paulmillr closed 1 year ago
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.
src
import {sha2} from './sha2.js'
Another thing is crypto import in crypto.ts. Should be replaced with node:crypto - but that's easy.
crypto
crypto.ts
node:crypto
Actually supported through npm: specifier, see readme
src
files have imports such asimport {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 incrypto.ts
. Should be replaced withnode:crypto
- but that's easy.