New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for react-native/non-node environments #92
Comments
This already works in the non-node environments with
FWIW, you don't need to do this if you're comfortable working with Happy to accept a PR with a "Working in Non-Node Environments" example pointing this out to the README. |
Ah, yes, it does work in react-native simply by adding the option. Thank you very much for your fast response. Any thoughts on adjusting the catch block for that section with something like this?
Throwing an entirely new error might be more stylistically in-line with everything else |
Sure SGTM, PR welcome :) (I'd even be up for automatically enabling useTArray if Buffer is not defined) |
Hmm, that could potentially result in an unexpected return type. Granted I experienced that the other way around where I was trying to concat a I don't think there's going to be an easy way to get |
Are there plans to support this package in a non-node environment? I was able to get this working in react-native by adding the "buffer" package, but I'm not sure if there's a good way to conditionally add dependencies based on environment
The text was updated successfully, but these errors were encountered: