Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
@captemulation/geoip
Advanced tools
GeoIP binding for nodejs(>=0.10) and iojs
Get geolocation information based on domain or IP address.
Limitations
Since this module required to compile geoip c library during the installtion, due to the difficulty of compilifa this c library on windows, currenlty, this module can not be used on windows, yet.
I recommend that choosing a pure javascript implementation instead, node-geoip
maybe your best candicate.
###Technical Architecture
###Memory leak issue As up to the version 0.4.7 (commit 22dadd98646f75318412b54b3de90cc079d34b1d), there will be some memory leak when new a object from GeoIP class.
Here is the report, I'll update it frequently.
Fortunately, the number of leaked bytes is not huge, and you wont new a object very offen.
If you are willing to fix this but, please fork this project.
###Need support special database? Corrently, this package supports the most common databases from MaxMind.
But, it still a lot of special databases out there.
Since I am not a user of any product/service of maxmind, if you require this pacakge to support special db, please make sure you can delivery the testing db and the ip address/domain that can be used to against the db.
##Installation
[sudo] npm install geoip [-g]
##Usage
See usage doc.
FAQs
GeoIP binding for node
The npm package @captemulation/geoip receives a total of 0 weekly downloads. As such, @captemulation/geoip popularity was classified as not popular.
We found that @captemulation/geoip demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.