node-geo-tz
node-geo-tz copied to clipboard
Compatibility with React Native
I was about to use node-geo-tz in my React Native project. However, it seems it is not optimized for React Native. For instance, I am getting the following error when trying to load it into my project:
The package at "node_modules\geo-tz\lib\find.js" attempted to import the Node standard library module "fs". It failed because React Native does not include the Node standard library.
As mentioned here, this particular error can be resolved, but I am not sure if other issues may arise after that. Is there a plan to support React Native as well?
There currently aren't plans to support React Native, but I'm happy to review and merge PRs that would enable React Native support.
FYI: We have a similar problem trying to use @vercel/ncc
for deploying this in our serverless application.