UNPKG

req-country

Version:

Given a request, get the country code. ISO 3166-1 alpha-2 compliant.

96 lines (95 loc) 2.61 kB
{ "name": "req-country", "description": "Given a request, get the country code. ISO 3166-1 alpha-2 compliant.", "homepage": "https://github.com/Kikobeats/req-country", "version": "1.2.11", "main": "src/index.js", "author": { "email": "josefrancisco.verdu@gmail.com", "name": "Kiko Beats", "url": "https://kikobeats.com" }, "contributors": [], "repository": { "type": "git", "url": "git+https://github.com/Kikobeats/req-country.git" }, "bugs": { "url": "https://github.com/Kikobeats/req-country/issues" }, "keywords": [ "cf-ipcountry", "country", "geoip", "geolite", "geolocation", "iso-31661", "iso-31661-alpha2", "x-appengine-country", "x-vercel-ip-country" ], "dependencies": { "fast-geoip": "~1.1.86", "request-ip": "~3.3.0" }, "devDependencies": { "@commitlint/cli": "latest", "@commitlint/config-conventional": "latest", "@ksmithut/prettier-standard": "latest", "ava": "latest", "c8": "latest", "ci-publish": "latest", "conventional-github-releaser": "latest", "finepack": "latest", "git-authors-cli": "latest", "nano-staged": "latest", "npm-check-updates": "latest", "simple-git-hooks": "latest", "standard": "latest", "standard-markdown": "latest", "standard-version": "latest" }, "engines": { "node": ">= 12" }, "files": [ "src" ], "scripts": { "clean": "rm -rf node_modules", "contributors": "(npx git-authors-cli && npx finepack && git add package.json && git commit -m 'build: contributors' --no-verify) || true", "coverage": "nyc report --reporter=text-lcov | coveralls", "lint": "standard-markdown README.md && standard", "postrelease": "npm run release:tags && npm run release:github && (ci-publish || npm publish --access=public)", "prerelease": "npm run update:check && npm run contributors", "pretest": "npm run lint", "release": "standard-version -a", "release:github": "conventional-github-releaser -p angular", "release:tags": "git push --follow-tags origin HEAD:master", "test": "c8 ava", "update": "ncu -u", "update:check": "ncu -- --error-level 2" }, "license": "MIT", "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "nano-staged": { "*.js": [ "prettier-standard", "standard --fix" ], "*.md": [ "standard-markdown" ], "package.json": [ "finepack" ] }, "simple-git-hooks": { "commit-msg": "npx commitlint --edit", "pre-commit": "npx nano-staged" } }