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 to await sodium.ready
! π€¦ββοΈ
Maybe it would be a helpful feature to have them start with some placeholder function like
function() {
throw `You must 'await sodium.ready' before using functions.`
}
That way people like me who forget that part get some help? :)
(Thanks for this library, in either case!)
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too