supercop.ts

cross-compiled javascript implementation of ed25519 based on supercop-ref10
git clone git://git.finwo.net/lib/supercop.ts
Log | Files | Refs | README | LICENSE

commit 8e074bbebc8cf992a2ec8c88d80f92c9cef48f99
parent b04ee78ca6b4c3ff4d0c41816e3b20a0af4dcd05
Author: finwo <finwo@pm.me>
Date:   Mon, 23 Aug 2021 01:21:52 +0200

ALlow nicer imports from ES6/TS, exporting default now

Diffstat:
Mindex.js | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/index.js b/index.js @@ -58,6 +58,9 @@ function checkArguments( namedArguments, callback ) { return callback(); } +// "default export", allows nicer imports from ES6/TS +exports.default = exports; + // Export helpers exports._checkArguments = checkArguments; exports._randomBytes = randomBytes;