UNPKG

fastify-redirect

Version:
67 lines (66 loc) 1.54 kB
{ "name": "fastify-redirect", "version": "1.0.1", "description": "", "type": "module", "main": "dist/cjs/index.cjs", "module": "dist/esm/index.js", "types": "dist/types/index.d.ts", "exports": { ".": { "import": "./dist/esm/index.js", "require": "./dist/cjs/index.cjs", "types": "./dist/types/index.d.ts" } }, "files": [ "dist", "db" ], "scripts": { "build": "rollup --config rollup.config.ts --configPlugin typescript", "test": "rollup --config rollup.config.ts --configPlugin typescript --watch" }, "repository": { "type": "git", "url": "git+https://github.com/wujiesixing/fastify-redirect.git" }, "keywords": [ "fastify", "redirect", "region", "country", "geoip", "GeoLite", "continent", "Accept-Language" ], "author": "Gavin <wujiesixing@outlook.com>", "license": "MIT", "dependencies": { "@fastify/cookie": "^9.3.1", "@maxmind/geoip2-node": "^5.0.0", "fastify": "^4.28.1", "fastify-plugin": "^4.5.1", "lodash-es": "^4.17.21" }, "devDependencies": { "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-typescript": "^11.1.6", "@types/lodash-es": "^4.17.12", "@types/node": "^20.14.10", "rollup": "^4.18.1", "rollup-plugin-delete": "^2.0.0", "tslib": "^2.6.3", "tsx": "^4.16.2", "typescript": "^5.5.3" }, "peerDependencies": { "@fastify/cookie": ">=9.0.0", "fastify": ">=4.0.0" }, "engines": { "node": ">=20", "pnpm": ">=8" } }