Closed quentinadam closed 1 year ago
Changing the import statements to .ts will make the library fail in other environments, which are pure js.
As mentioned in README, for deno, use it with NPM specifier instead: https://github.com/paulmillr/noble-hashes#usage
Makes sense, thanks for clarifying.
For example, I am trying to use the
blake2b
hash in Deno by importing the following:But I am getting the following issue:
Changing the import statements on the first lines of blake2b.ts to use the ".ts" extension instead of ".js" would solve the issue.