@toil/ip-geolocation
Version:
A library for free (and not only free) use of the ip geolocation APIs
111 lines (110 loc) • 3.11 kB
JSON
{
"name": "@toil/ip-geolocation",
"version": "1.0.0",
"author": "Toil",
"repository": {
"type": "git",
"url": "git+https://github.com/ilyhalight/ip-geolocation"
},
"main": "./dist/index.js",
"module": "./dist/index.js",
"devDependencies": {
"@sinclair/typebox-codegen": "^0.10.5",
"@types/bun": "latest",
"@types/eslint__js": "^8.42.3",
"eslint": "^9.13.0",
"eslint-plugin-oxlint": "0.11.0",
"husky": "^9.1.6",
"oxlint": "^0.11.0",
"tsc-alias": "^1.8.10",
"tsc-esm-fix": "^3.1.0",
"typedoc": "^0.26.10",
"typedoc-plugin-include-example": "^1.3.0",
"typedoc-plugin-rename-defaults": "^0.7.1",
"typescript-eslint": "^8.10.0"
},
"peerDependencies": {
"typescript": "^5.6.2"
},
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./errors": {
"require": "./dist/errors.js",
"import": "./dist/errors.js",
"types": "./dist/errors.d.ts"
},
"./config": {
"require": "./dist/config/config.js",
"import": "./dist/config/config.js",
"types": "./dist/config/config.d.ts"
},
"./providers": {
"require": "./dist/providers/index.js",
"import": "./dist/providers/index.js",
"types": "./dist/providers/index.d.ts"
},
"./providers/*": {
"require": "./dist/providers/*.js",
"import": "./dist/providers/*.js",
"types": "./dist/providers/*.d.ts"
},
"./types": {
"require": "./dist/types/index.js",
"import": "./dist/types/index.js",
"types": "./dist/types/index.d.ts"
},
"./types/*": {
"require": "./dist/types/*.js",
"import": "./dist/types/*.js",
"types": "./dist/types/*.d.ts"
},
"./typebox": {
"require": "./dist/typebox/client.js",
"import": "./dist/typebox/client.js",
"types": "./dist/typebox/client.d.ts"
}
},
"bugs": {
"url": "https://github.com/ilyhalight/ip-geolocation/issues"
},
"description": "A library for free (and not only free) use of the ip geolocation APIs",
"engines": {
"node": ">=18"
},
"files": [
"dist"
],
"homepage": "https://github.com/ilyhalight/ip-geolocation",
"keywords": [
"geolocation",
"ipgeo",
"geo2ip",
"ip2geo",
"lookup",
"address",
"ip",
"free",
"freeipapi",
"ipapicom"
],
"license": "MIT",
"publishConfig": {
"access": "public"
},
"scripts": {
"test": "bun test",
"clear": "bun run ./scripts/clear.ts",
"build:default": "tsc --project tsconfig.build.json --outdir ./dist && tsc-alias -p tsconfig.build.json && tsc-esm-fix --tsconfig tsconfig.build.json",
"build:typebox": "bun run ./scripts/typebox-gen.ts",
"build:doc": "typedoc --options typedoc.json --tsconfig tsconfig.build.json",
"build:bun": "bun clear && bun build:default && bun build:typebox && bun build:doc",
"lint": "bunx oxlint --ignore-path=.oxlintignore && bunx eslint",
"prepare": "husky"
},
"type": "module",
"types": "./dist/index.d.ts"
}