browserify / randombytes

random bytes from browserify stand alone
MIT License
99 stars 47 forks source link

ES 6 module? #12

Closed KayakinKoder closed 6 years ago

KayakinKoder commented 6 years ago

Pardon my javascript naivety -- is there an es 6 module version of randombytes? Rollupjs has an issue with either crypto or buffer shims I think, and just isn't playing nicely in the browser. Thanks for very useful set up plugins btw, has worked great in my other webpack projects.

dcousens commented 6 years ago

Rollupjs has an issue with either crypto or buffer shims I think

I'd focus on this, not on this module. :+1:

calvinmetcalf commented 6 years ago

its crypto some of the elliptical curve stuff doesn't play well if I recal

On Fri, Dec 15, 2017 at 2:16 AM Daniel Cousens notifications@github.com wrote:

Rollupjs has an issue with either crypto or buffer shims I think

I'd focus on this, not on this module. 👍

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/crypto-browserify/randombytes/issues/12#issuecomment-351931759, or mute the thread https://github.com/notifications/unsubscribe-auth/ABE4n1fjkoiWP2g01tCP3H9dVS_sQ8Izks5tAhzAgaJpZM4RDB4D .

KayakinKoder commented 6 years ago

@dcousens yes they are aware, was just wondering on your end if there was an es 6 module available. Thanks again

dcousens commented 6 years ago

@KayakinKoder you could ES6/babel your exports, then deal with them that way? Maybe?