{"_id":"@appsensorlike/appsensorlike_geolocators_fast_geoip","_rev":"4-47639ba7a100eadfbcdae3fc7baaea21","name":"@appsensorlike/appsensorlike_geolocators_fast_geoip","dist-tags":{"latest":"0.30.0"},"versions":{"0.18.0":{"name":"@appsensorlike/appsensorlike_geolocators_fast_geoip","version":"0.18.0","keywords":["js","AppSensor","GeoLocator"],"author":"","license":"ISC","_id":"@appsensorlike/appsensorlike_geolocators_fast_geoip@0.18.0","maintainers":[{"name":"si076","email":"spas_iliev@hotmail.com"}],"homepage":"https://github.com/si076/-appsensorlike#readme","bugs":{"url":"https://github.com/si076/-appsensorlike/issues"},"dist":{"shasum":"04f672d33a06a0f2067abcc949d50d96142facf9","tarball":"https://registry.npmjs.org/@appsensorlike/appsensorlike_geolocators_fast_geoip/-/appsensorlike_geolocators_fast_geoip-0.18.0.tgz","fileCount":4,"integrity":"sha512-MDPzD44/olcOoQ69RX4+3NQ2Iwys5at82qjT5rfMuDzGA4EhqvDmAZBw6EtD23j3vZ1A9icTGqISvfzKjg1/3w==","signatures":[{"sig":"MEYCIQCONQucQ8xfTj7GTK838WLJkqtEi0ujs+11TdWo5nTylwIhAN4HugVzEr2XBrhzErykiIGzpSy/+YFwYXJfV7sLgN7A","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4158},"type":"module","engines":{"node":">=14.15.0"},"exports":{".":"./dist/geolocators/fast-geoip/fast-geoip.js"},"gitHead":"3f9fd9525d21609ef7ac0c238cc65663b0baae67","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"si076","email":"spas_iliev@hotmail.com"},"repository":{"url":"git+https://github.com/si076/-appsensorlike.git","type":"git"},"_npmVersion":"8.19.4","description":"AppSensorLike ip locator implementation utilizing fast-geoip library","directories":{"test":"tests"},"_nodeVersion":"14.15.0","dependencies":{"fast-geoip":"^1.1.88","@appsensorlike/appsensorlike":"0.20.4"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/appsensorlike_geolocators_fast_geoip_0.18.0_1696671678937_0.09756175659452748","host":"s3://npm-registry-packages"}},"0.18.1":{"name":"@appsensorlike/appsensorlike_geolocators_fast_geoip","version":"0.18.1","keywords":["js","AppSensor","GeoLocator"],"author":"","license":"ISC","_id":"@appsensorlike/appsensorlike_geolocators_fast_geoip@0.18.1","maintainers":[{"name":"si076","email":"spas_iliev@hotmail.com"}],"homepage":"https://github.com/si076/-appsensorlike#readme","bugs":{"url":"https://github.com/si076/-appsensorlike/issues"},"dist":{"shasum":"0127975c8717d766d15a27c68e4efc1021de0f9f","tarball":"https://registry.npmjs.org/@appsensorlike/appsensorlike_geolocators_fast_geoip/-/appsensorlike_geolocators_fast_geoip-0.18.1.tgz","fileCount":4,"integrity":"sha512-FdN87OPzXOgTzHroT7w+CE5u5XHcn1qNa7eVLsI6PgrNIq48deq/qh3vUlZYooUrRtaXNihWWd0UbDkCEdlG5A==","signatures":[{"sig":"MEYCIQC3A/10fuV4F1vXmweFSSkcphTw2qM+NVTUAgvX83X/qAIhAO65YFYkQ0AAxi8U5HvDJQ0hIudCpTTew94ViP/8g6Rg","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4159},"type":"module","engines":{"node":">=14.15.0"},"exports":{".":"./dist/geolocators/fast-geoip/fast-geoip.js"},"gitHead":"3f9fd9525d21609ef7ac0c238cc65663b0baae67","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"si076","email":"spas_iliev@hotmail.com"},"repository":{"url":"git+https://github.com/si076/-appsensorlike.git","type":"git"},"_npmVersion":"8.19.4","description":"AppSensorLike ip locator implementation utilizing fast-geoip library","directories":{"test":"tests"},"_nodeVersion":"14.15.0","dependencies":{"fast-geoip":"^1.1.88","@appsensorlike/appsensorlike":"0.20.4"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/appsensorlike_geolocators_fast_geoip_0.18.1_1696672250314_0.9241708653991654","host":"s3://npm-registry-packages"}},"0.20.6":{"name":"@appsensorlike/appsensorlike_geolocators_fast_geoip","version":"0.20.6","keywords":["js","AppSensor","GeoLocator"],"author":"","license":"ISC","_id":"@appsensorlike/appsensorlike_geolocators_fast_geoip@0.20.6","maintainers":[{"name":"si076","email":"spas_iliev@hotmail.com"}],"homepage":"https://github.com/si076/-appsensorlike#readme","bugs":{"url":"https://github.com/si076/-appsensorlike/issues"},"dist":{"shasum":"e84a90272c43c3255888ca46d11e7fb6c83972ba","tarball":"https://registry.npmjs.org/@appsensorlike/appsensorlike_geolocators_fast_geoip/-/appsensorlike_geolocators_fast_geoip-0.20.6.tgz","fileCount":4,"integrity":"sha512-DUwrb+8t2HW5U4HEP7MueM7mKnCSsikR/21vlW0gPAdmLqNAJ5mFyHFeUWP6xcybIWqFWPUybY1qrUYrIrvYiw==","signatures":[{"sig":"MEYCIQCK3k6SZQ7AdHwIQDKwlsxsy/PDYd/TdOKu1IVnYbZHSAIhAKiFZtjCXaHxHXztxYaBIfif/JwnLpIcdTLib4Xr0+Ln","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4159},"type":"module","engines":{"node":">=14.15.0"},"exports":{".":"./dist/geolocators/fast-geoip/fast-geoip.js"},"gitHead":"efebaf1985d872765123943d196237d5aee56abf","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"si076","email":"spas_iliev@hotmail.com"},"repository":{"url":"git+https://github.com/si076/-appsensorlike.git","type":"git"},"_npmVersion":"8.19.4","description":"AppSensorLike ip locator implementation utilizing fast-geoip library","directories":{"test":"tests"},"_nodeVersion":"14.15.0","dependencies":{"fast-geoip":"^1.1.88","@appsensorlike/appsensorlike":"0.20.6"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/appsensorlike_geolocators_fast_geoip_0.20.6_1706951347651_0.6566290535392858","host":"s3://npm-registry-packages"}},"0.30.0":{"name":"@appsensorlike/appsensorlike_geolocators_fast_geoip","version":"0.30.0","description":"AppSensorLike ip locator implementation utilizing fast-geoip library","type":"module","directories":{"test":"tests"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/si076/-appsensorlike.git"},"keywords":["js","AppSensor","GeoLocator"],"author":"","license":"ISC","bugs":{"url":"https://github.com/si076/-appsensorlike/issues"},"homepage":"https://github.com/si076/-appsensorlike#readme","engines":{"node":">=14.15.0"},"dependencies":{"fast-geoip":"^1.1.88","@appsensorlike/appsensorlike":"0.30.0"},"exports":{".":"./dist/geolocators/fast-geoip/fast-geoip.js"},"_id":"@appsensorlike/appsensorlike_geolocators_fast_geoip@0.30.0","gitHead":"c2f66feaa887caa50dc3b7ec9a02c678246b97c0","_nodeVersion":"20.18.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-3S4WEF2u0Uh6Vres6FAf6T/DMriXo/cweaZqtdDx2TwxeFVyx+Q6LnLksf7xtFLF08zp7d+ANIc+UvS0yyB3AA==","shasum":"19eba05ff1f60a1ff41d5fc84c1beb796654be48","tarball":"https://registry.npmjs.org/@appsensorlike/appsensorlike_geolocators_fast_geoip/-/appsensorlike_geolocators_fast_geoip-0.30.0.tgz","fileCount":4,"unpackedSize":4060,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDLLiToMr6WdjBAbuMCcqlcV2Pn3ft1JU7KHu6d4WpGBwIhAPve4fJE/zkq//yZ3stTfs9EUYCd3RtZRJQ5LAxtc7LU"}]},"_npmUser":{"name":"si076","email":"spas_iliev@hotmail.com"},"maintainers":[{"name":"si076","email":"spas_iliev@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/appsensorlike_geolocators_fast_geoip_0.30.0_1743847865706_0.7386892440905897"},"_hasShrinkwrap":false}},"time":{"created":"2023-10-07T09:41:18.867Z","modified":"2025-04-05T10:11:06.122Z","0.18.0":"2023-10-07T09:41:19.136Z","0.18.1":"2023-10-07T09:50:50.522Z","0.20.6":"2024-02-03T09:09:07.813Z","0.30.0":"2025-04-05T10:11:05.933Z"},"bugs":{"url":"https://github.com/si076/-appsensorlike/issues"},"license":"ISC","homepage":"https://github.com/si076/-appsensorlike#readme","keywords":["js","AppSensor","GeoLocator"],"repository":{"type":"git","url":"git+https://github.com/si076/-appsensorlike.git"},"description":"AppSensorLike ip locator implementation utilizing fast-geoip library","maintainers":[{"name":"si076","email":"spas_iliev@hotmail.com"}],"readme":"[@appsensorlike/appsensorlike](https://www.npmjs.com/package/@appsensorlike/appsensorlike) \ngeo locator implementation utilizing https://www.npmjs.com/package/fast-geoip library.\nYou can find it useful when you have to filter requests by geolocation.\nIf you add geolocation along with the IP address in IPAddress constructor, it will be visualized in [Dashboard's](https://www.npmjs.com/package/@appsensorlike/appsensorlike_ui_web) geo map.\n\nInstallation\n---\n`````\nnpm i @appsensorlike/appsensorlike_geolocators_fast_geoip\n`````\n\nUsage\n---\n`````javascript\nimport { FastGeoIPLocator } from \"@appsensorlike/appsensorlike_geolocators_fast_geoip\";\nimport { IPAddress } from \"@appsensorlike/appsensorlike/core/core.js\"\n\nconst geoLocator = new FastGeoIPLocator();\n\nconst getLocation = await geoLocator.readLocation(\"80.80.128.0\");\n\nconsole.log(getLocation);\n\n//follow two options to create an IPAddress with geolocation\n//\n//use already obtained geolocation\nconst ipAddress1 = new IPAddress(\"80.80.128.0\", getLocation);\n\n//obtain geolocation and create an instance of IPAddress in one step\nconst ipAddress2 = await IPAddress.fromString(\"80.80.128.0\", geoLocator);\n\nconsole.log(ipAddress1);\n`````\n\nTypeScript support\n---\nYou need TypeScript version >= 4.7 in order the paths exported by the module to be resolved.\n","readmeFilename":"Readme.md"}