UNPKG

micro-geoip-lite

Version:

🌍 An extremely lite geoip decoder utilizing the micro-geoip-lite microservice to geo decode the IP info via an https request - the microservice utilizes MaxMind's IP info dataset.

96 lines (95 loc) 2.73 kB
{ "name": "micro-geoip-lite", "version": "1.0.1", "description": "🌍 An extremely lite geoip decoder utilizing the micro-geoip-lite microservice to geo decode the IP info via an https request - the microservice utilizes MaxMind's IP info dataset.", "author": { "name": "Ahmed Tarek", "email": "ahmed.tokyo1@gmail.com", "url": "https://github.com/A-Tokyo" }, "repository": { "type": "git", "url": "https://github.com/A-Tokyo/micro-geoip-lite-js.git" }, "main": "lib/index.js", "files": [ "lib/" ], "homepage": "https://github.com/A-Tokyo/micro-geoip-lite-js#readme", "bugs": { "url": "https://github.com/A-Tokyo/micro-geoip-lite-js/issues" }, "scripts": { "start": "babel-node src/index.js", "dev": "yarn build --watch", "build": "rm -rf lib && yarn build:flow && yarn build:js", "build:js": "babel src --out-dir lib -s --ignore *.test.js,**/*.test.js", "build:flow": "flow-copy-source -v -i '*.test.js' -i '**/*.test.js' src lib", "prepublish": "export NODE_ENV=production && yarn build", "test": "npm run build && yarn jest", "code-report": "plato -r -n -t \"Code Report\" -x \".((test.js|graphql))|((types.js))\" -d code-report ./src", "coverage-view": "open coverage/lcov-report/index.html || xdg-open coverage/lcov-report/index.html" }, "dependencies": { "ky": "^0.19.0", "ky-universal": "^0.5.0" }, "devDependencies": { "@babel/cli": "^7.8.4", "@babel/plugin-transform-runtime": "^7.9.0", "@babel/preset-env": "^7.9.5", "@babel/preset-flow": "^7.9.0", "babel-eslint": "^10.1.0", "babel-jest": "^25.3.0", "eslint": "^6.8.0", "eslint-config-airbnb": "^18.1.0", "eslint-config-prettier": "^2.9.0", "eslint-plugin-flowtype": "^2.39.1", "eslint-plugin-import": "^2.14.0", "eslint-plugin-jsx-a11y": "^6.1.1", "eslint-plugin-prettier": "^2.6.0", "eslint-plugin-react": "^7.11.0", "flow-bin": "^0.122.0", "flow-copy-source": "^2.0.6", "husky": "^4.2.5", "jest": "^25.3.0", "jest-cli": "^25.3.0", "lint-staged": "^10.1.3", "plato": "^1.7.0", "prettier": "^2.0.4" }, "keywords": [ "micro", "micro service", "ip", "geoip", "geoip-lite", "country", "request-country", "decode", "lite-weight", "flow", "types", "typed", "typescript" ], "husky": { "hooks": { "pre-commit": "lint-staged && eslint . --fix" } }, "lint-staged": { "*.js": [ "prettier --write", "git add" ] }, "license": "MIT", "contributors": [ { "name": "Ahmed Tarek", "email": "ahmed.tokyo1@gmail.com", "url": "https://github.com/A-Tokyo" } ] }