Skip to content

neonbyte1/deno-libsodium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deno-libsodium

With the release of Deno 2.0 the support for npm packages is now available, but this does not work “out-of-the-box” for the libsodium-wrappers package, as the actual functions are only provided after loading the WebAssembly file. Therefore, this small module closes the gap to be able to use sodium as usual!

Usage

All functions, interfaces and constants were taken from @types/libsodium-wrappers with a few non functional related changes. The only difference is the initial routine, you need to call await sodium_init() now instead of await ready.

License

libsodium uses the ISC license while this repository was published under the MIT license.

About

Closes the gap between the npm package and deno

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published