Hey, this library works nice in node/browser. But unfortunately not with react-native, since there is no global Buffer element. Replacing that part with require('buffer').Buffer works.
So maybe this could be changed to something along: let buffer = typeof Buffer !== 'undefined' ? Buffer : require('buffer').Buffer;?
Hey, this library works nice in node/browser. But unfortunately not with react-native, since there is no global
Bufferelement. Replacing that part withrequire('buffer').Bufferworks.So maybe this could be changed to something along:
let buffer = typeof Buffer !== 'undefined' ? Buffer : require('buffer').Buffer;?