libsignal-protocol-javascript
libsignal-protocol-javascript copied to clipboard
Does not seem work in Node
Importing/requiring dist/libsignal-protocol.js
in Node fails even though the line
var ENVIRONMENT_IS_NODE = typeof process === 'object' && typeof require === 'function';
suggests the authors intended it to work with Node.
In addition to that, in answers to previous issues it was said that the Electron/Node-based Signal desktop client was based on this repository. How did they get it to work? I tried find out myself by checking the Signal Desktop code but found it quite confusing.