Add note on sodium-universal

This commit is contained in:
Emil Bay 2020-06-24 15:06:54 +02:00
parent ef00ddc878
commit d8d59d0443

View File

@ -35,6 +35,11 @@ console.log('Plaintext:', plainText.toString())
See [sodium-native](https://github.com/sodium-friends/sodium-native). See [sodium-native](https://github.com/sodium-friends/sodium-native).
This is a work in progress so all functions are not implemented yet. This is a work in progress so all functions are not implemented yet.
This module is organised into individual submodules which can be required
independently for smaller bundles in the browser. To leverage automatic
switching between `sodium-javascript` and `sodium-native`, see
[`sodium-universal`](https://github.com/sodium-friends/sodium-universal).
## Install ## Install
``` ```