An official client written in JS/NodeJS for ip-api exists.
It would be more efficient if you could use it in the code as this might reduce the code footprint and complexity.
Here is the repository of the official ip-api client: https://github.com/ipapi-co/ipapi-nodejs
An official client written in JS/NodeJS for ip-api exists. It would be more efficient if you could use it in the code as this might reduce the code footprint and complexity. Here is the repository of the official ip-api client: https://github.com/ipapi-co/ipapi-nodejs