sodium
sodium copied to clipboard
🧂 Sodium is a modern, easy-to-use library for encryption, decryption, signatures, password hashing and more
I'm [trying to use DNT][2] to try to make my Deno library available in Node. `sodium` is one of my dependencies. After DNT does its thing, it tries to run...
I've got a gist here w/ sample code: https://gist.github.com/NfNitLoop/201cc0b816facf176de3ce1ff5890467 which you can run with: ``` deno run https://gist.githubusercontent.com/NfNitLoop/201cc0b816facf176de3ce1ff5890467/raw/80e8e7550de49defbbbce9b0e5f3a5d03217b1f7/example.ts ``` But it looks like the functions are undefined. ohhhhh, I've got...
It's inefficient and may even lead to TS compiler crash on Deno 1.9.2
## Error Description ``` error: Uncaught (in promise) ReferenceError: __dirname is not defined at Object.g.ready.r.useBackupModule (https://deno.land/x/[email protected]/dist/browsers/sodium.js:1:943) at https://deno.land/x/[email protected]/dist/browsers/sodium.js:1:497208 ``` ## Quick finding with Orama Ai on Deno docs ``` const...
For this issue https://github.com/denosaurs/sodium/issues/4