From f0b0d63cb5f4a32f1ae468f55f063a69206fe48e Mon Sep 17 00:00:00 2001 From: Marco Munizaga Date: Tue, 28 Mar 2023 16:15:51 -0700 Subject: [PATCH] Add building doc --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5947b84..7b29c5c 100644 --- a/README.md +++ b/README.md @@ -3,4 +3,10 @@ Implements the crypto interface used by js-libp2p-noise: https://github.com/ChainSafe/js-libp2p-noise/blob/master/src/crypto.ts -Allows you to do the crypto operations in WASM. \ No newline at end of file +Allows you to do the crypto operations in WASM. + +# Building + +``` +wasm-pack build --target nodejs --out-dir ./lib-wrapper/pkg_node +``` \ No newline at end of file