├── .github └── workflows │ ├── auto-update-country.yml │ ├── auto-update-geocode.yml │ ├── auto-update.yml │ └── test.yml ├── .gitignore ├── .release-it.json ├── CHANGELOG.md ├── EULA ├── LICENSE ├── README.md ├── browser ├── country-extra │ ├── README.md │ ├── iplookup.cjs │ ├── iplookup.js │ ├── iplookup.min.js │ ├── iplookup.mjs │ └── package.json ├── country-offline.html ├── country-online.html ├── country │ ├── README.md │ ├── iplookup.cjs │ ├── iplookup.js │ ├── iplookup.min.js │ ├── iplookup.mjs │ └── package.json ├── geocode-extra │ ├── README.md │ ├── iplookup.cjs │ ├── iplookup.js │ ├── iplookup.min.js │ ├── iplookup.mjs │ └── package.json ├── geocode-offline.html ├── geocode-online.html └── geocode │ ├── README.md │ ├── iplookup.cjs │ ├── iplookup.js │ ├── iplookup.min.js │ ├── iplookup.mjs │ └── package.json ├── cjs ├── db.cjs ├── main.cjs ├── setting.cjs └── utils.cjs ├── package.json ├── rollup.config.mjs ├── script ├── NODE_VERSION.md ├── _benchmark-all.bat ├── _benchmark-city.bat ├── _benchmark-country.bat ├── _benchmark-ll.bat ├── _updatedb-all.bat ├── _updatedb-city.bat ├── _updatedb-country.bat ├── _updatedb-geoip-lite.bat ├── _updatedb-ll.bat ├── auto-update-country.sh ├── auto-update-geocode.sh ├── auto-update.sh ├── benchmark-other.cjs ├── benchmark-this.mjs ├── cjs-test.cjs ├── convert-to-cjs.mjs ├── create_ips.mjs ├── isip-benchmark.mjs ├── memory-usage0.mjs ├── memory-usage1.mjs ├── run.mjs ├── test-geoip-country.cjs ├── updatedb-first.mjs ├── updatedb.cjs └── updatedb.mjs ├── spec ├── lookup.spec.cjs ├── lookup.spec.mjs └── support │ └── jasmine.json ├── src ├── browser-extra.mjs ├── browser.mjs ├── browser_utils.mjs ├── db.mjs ├── main-pack.mjs ├── main-pack.patch ├── main.mjs ├── setting.mjs └── utils.mjs └── types ├── cjs └── main.d.cts └── src └── main.d.mts /.github/workflows/auto-update-country.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/.github/workflows/auto-update-country.yml -------------------------------------------------------------------------------- /.github/workflows/auto-update-geocode.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/.github/workflows/auto-update-geocode.yml -------------------------------------------------------------------------------- /.github/workflows/auto-update.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/.github/workflows/auto-update.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/.gitignore -------------------------------------------------------------------------------- /.release-it.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/.release-it.json -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /EULA: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/EULA -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/README.md -------------------------------------------------------------------------------- /browser/country-extra/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/browser/country-extra/README.md -------------------------------------------------------------------------------- /browser/country-extra/iplookup.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/browser/country-extra/iplookup.cjs -------------------------------------------------------------------------------- /browser/country-extra/iplookup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/browser/country-extra/iplookup.js -------------------------------------------------------------------------------- /browser/country-extra/iplookup.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/browser/country-extra/iplookup.min.js -------------------------------------------------------------------------------- /browser/country-extra/iplookup.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/browser/country-extra/iplookup.mjs -------------------------------------------------------------------------------- /browser/country-extra/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/browser/country-extra/package.json -------------------------------------------------------------------------------- /browser/country-offline.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/browser/country-offline.html -------------------------------------------------------------------------------- /browser/country-online.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/browser/country-online.html -------------------------------------------------------------------------------- /browser/country/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/browser/country/README.md -------------------------------------------------------------------------------- /browser/country/iplookup.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/browser/country/iplookup.cjs -------------------------------------------------------------------------------- /browser/country/iplookup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/browser/country/iplookup.js -------------------------------------------------------------------------------- /browser/country/iplookup.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/browser/country/iplookup.min.js -------------------------------------------------------------------------------- /browser/country/iplookup.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/browser/country/iplookup.mjs -------------------------------------------------------------------------------- /browser/country/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/browser/country/package.json -------------------------------------------------------------------------------- /browser/geocode-extra/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/browser/geocode-extra/README.md -------------------------------------------------------------------------------- /browser/geocode-extra/iplookup.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/browser/geocode-extra/iplookup.cjs -------------------------------------------------------------------------------- /browser/geocode-extra/iplookup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/browser/geocode-extra/iplookup.js -------------------------------------------------------------------------------- /browser/geocode-extra/iplookup.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/browser/geocode-extra/iplookup.min.js -------------------------------------------------------------------------------- /browser/geocode-extra/iplookup.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/browser/geocode-extra/iplookup.mjs -------------------------------------------------------------------------------- /browser/geocode-extra/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/browser/geocode-extra/package.json -------------------------------------------------------------------------------- /browser/geocode-offline.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/browser/geocode-offline.html -------------------------------------------------------------------------------- /browser/geocode-online.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/browser/geocode-online.html -------------------------------------------------------------------------------- /browser/geocode/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/browser/geocode/README.md -------------------------------------------------------------------------------- /browser/geocode/iplookup.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/browser/geocode/iplookup.cjs -------------------------------------------------------------------------------- /browser/geocode/iplookup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/browser/geocode/iplookup.js -------------------------------------------------------------------------------- /browser/geocode/iplookup.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/browser/geocode/iplookup.min.js -------------------------------------------------------------------------------- /browser/geocode/iplookup.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/browser/geocode/iplookup.mjs -------------------------------------------------------------------------------- /browser/geocode/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/browser/geocode/package.json -------------------------------------------------------------------------------- /cjs/db.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/cjs/db.cjs -------------------------------------------------------------------------------- /cjs/main.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/cjs/main.cjs -------------------------------------------------------------------------------- /cjs/setting.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/cjs/setting.cjs -------------------------------------------------------------------------------- /cjs/utils.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/cjs/utils.cjs -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/package.json -------------------------------------------------------------------------------- /rollup.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/rollup.config.mjs -------------------------------------------------------------------------------- /script/NODE_VERSION.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/script/NODE_VERSION.md -------------------------------------------------------------------------------- /script/_benchmark-all.bat: -------------------------------------------------------------------------------- 1 | cd /d %~dp0 2 | 3 | node benchmark-this.js ila_fields=all 4 | -------------------------------------------------------------------------------- /script/_benchmark-city.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/script/_benchmark-city.bat -------------------------------------------------------------------------------- /script/_benchmark-country.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/script/_benchmark-country.bat -------------------------------------------------------------------------------- /script/_benchmark-ll.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/script/_benchmark-ll.bat -------------------------------------------------------------------------------- /script/_updatedb-all.bat: -------------------------------------------------------------------------------- 1 | 2 | cd /d %~dp0 3 | 4 | node updatedb.js ila_fields=all 5 | -------------------------------------------------------------------------------- /script/_updatedb-city.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/script/_updatedb-city.bat -------------------------------------------------------------------------------- /script/_updatedb-country.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/script/_updatedb-country.bat -------------------------------------------------------------------------------- /script/_updatedb-geoip-lite.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/script/_updatedb-geoip-lite.bat -------------------------------------------------------------------------------- /script/_updatedb-ll.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/script/_updatedb-ll.bat -------------------------------------------------------------------------------- /script/auto-update-country.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/script/auto-update-country.sh -------------------------------------------------------------------------------- /script/auto-update-geocode.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/script/auto-update-geocode.sh -------------------------------------------------------------------------------- /script/auto-update.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/script/auto-update.sh -------------------------------------------------------------------------------- /script/benchmark-other.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/script/benchmark-other.cjs -------------------------------------------------------------------------------- /script/benchmark-this.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/script/benchmark-this.mjs -------------------------------------------------------------------------------- /script/cjs-test.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/script/cjs-test.cjs -------------------------------------------------------------------------------- /script/convert-to-cjs.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/script/convert-to-cjs.mjs -------------------------------------------------------------------------------- /script/create_ips.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/script/create_ips.mjs -------------------------------------------------------------------------------- /script/isip-benchmark.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/script/isip-benchmark.mjs -------------------------------------------------------------------------------- /script/memory-usage0.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/script/memory-usage0.mjs -------------------------------------------------------------------------------- /script/memory-usage1.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/script/memory-usage1.mjs -------------------------------------------------------------------------------- /script/run.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/script/run.mjs -------------------------------------------------------------------------------- /script/test-geoip-country.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/script/test-geoip-country.cjs -------------------------------------------------------------------------------- /script/updatedb-first.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/script/updatedb-first.mjs -------------------------------------------------------------------------------- /script/updatedb.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/script/updatedb.cjs -------------------------------------------------------------------------------- /script/updatedb.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/script/updatedb.mjs -------------------------------------------------------------------------------- /spec/lookup.spec.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/spec/lookup.spec.cjs -------------------------------------------------------------------------------- /spec/lookup.spec.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/spec/lookup.spec.mjs -------------------------------------------------------------------------------- /spec/support/jasmine.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/spec/support/jasmine.json -------------------------------------------------------------------------------- /src/browser-extra.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/src/browser-extra.mjs -------------------------------------------------------------------------------- /src/browser.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/src/browser.mjs -------------------------------------------------------------------------------- /src/browser_utils.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/src/browser_utils.mjs -------------------------------------------------------------------------------- /src/db.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/src/db.mjs -------------------------------------------------------------------------------- /src/main-pack.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/src/main-pack.mjs -------------------------------------------------------------------------------- /src/main-pack.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/src/main-pack.patch -------------------------------------------------------------------------------- /src/main.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/src/main.mjs -------------------------------------------------------------------------------- /src/setting.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/src/setting.mjs -------------------------------------------------------------------------------- /src/utils.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/src/utils.mjs -------------------------------------------------------------------------------- /types/cjs/main.d.cts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/types/cjs/main.d.cts -------------------------------------------------------------------------------- /types/src/main.d.mts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sapics/ip-location-api/HEAD/types/src/main.d.mts --------------------------------------------------------------------------------