From d8d59d0443d3c2826dd9902e2e8464e4bfa9378d Mon Sep 17 00:00:00 2001 From: Emil Bay Date: Wed, 24 Jun 2020 15:06:54 +0200 Subject: [PATCH] Add note on sodium-universal --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 1c297b7..98efadd 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,11 @@ console.log('Plaintext:', plainText.toString()) See [sodium-native](https://github.com/sodium-friends/sodium-native). 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 ```