Skip to content

Conversation

NewtonJoshua
Copy link

@NewtonJoshua NewtonJoshua commented Aug 29, 2019

Dependencies Added:

  • browserify-zlib: If Node's 'zlib' can't be resolved use browserify-zlib that emulates zlib module for the browser
  • buffer: make buffer, that emulates node's Buffer API, available globally in the browser
  • process: make process, that emulates node's Process API, available globally in the browser
  • stream-browserify: this should be used by zlib/browserify-zlib instead of 'stream'. Should be mentioned in angular compiler options.

The steps to use node-jose in angular app is added in the readme file.

It is published to https://www.npmjs.com/package/node-jose-browserify

npm i node-jose-browserify

@davesag
Copy link

davesag commented Sep 16, 2020

Just my 2c / I think this is best kept as a separate library rather than cluttering up this core library with irrelevant code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants