node-jsencrypt
node-jsencrypt copied to clipboard
A port of JSEncrypt to NodeJS
I am generating a key pair using the npm library keypair. I am able to set the privateKey. However it fails to set the public key with the following error:...
TypeError: node_jsencrypt_1.default is not a constructor
`/code/node_modules/ts-node/src/index.ts:261 return new TSError(diagnosticText, diagnosticCodes) ^ TSError: ⨯ Unable to compile TypeScript: index.ts(348,25): error TS2345: Argument of type 'string | Query | string[] | Query[]' is not assignable to parameter...
Hello, thank you for porting the library! I use nodejs to write a library, it with rollup to support browser, but I am not sure if it is a configuration...