{
  "name": "@joint-ops/hitlimit-bun",
  "version": "1.5.0",
  "description": "Ultra-fast Bun-native rate limiting - Memory-first with 6M+ ops/sec for Bun.serve, Elysia & Hono",
  "author": {
    "name": "Shayan M Hussain",
    "email": "shayanhussain48@gmail.com",
    "url": "https://github.com/ShayanHussainSB"
  },
  "contributors": [
    {
      "name": "tanv33",
      "url": "https://github.com/tanv33"
    },
    {
      "name": "builtbyali",
      "url": "https://github.com/builtbyali"
    },
    {
      "name": "MuhammadRehanRasool",
      "url": "https://github.com/MuhammadRehanRasool"
    },
    {
      "name": "sultandilaram",
      "url": "https://github.com/sultandilaram"
    },
    {
      "name": "MoizYousuf",
      "url": "https://github.com/MoizYousuf"
    },
    {
      "name": "shoaib-tumi",
      "url": "https://github.com/shoaib-tumi"
    }
  ],
  "license": "MIT",
  "homepage": "https://hitlimit.jointops.dev/docs/bun",
  "repository": {
    "type": "git",
    "url": "https://github.com/JointOps/hitlimit-monorepo",
    "directory": "packages/hitlimit-bun"
  },
  "bugs": {
    "url": "https://github.com/JointOps/hitlimit-monorepo/issues"
  },
  "keywords": [
    "rate-limit",
    "bun",
    "rate-limiter",
    "memory",
    "fast",
    "elysia",
    "bun.serve",
    "middleware",
    "sqlite",
    "redis",
    "hono",
    "bun-rate-limit",
    "bun-sqlite",
    "bun-middleware",
    "bun-serve",
    "bun-server",
    "bun-native",
    "bun-http",
    "elysia-plugin",
    "elysia-rate-limit",
    "elysia-middleware",
    "elysia-throttle",
    "hono-rate-limit",
    "hono-bun",
    "throttle",
    "throttling",
    "api",
    "api-rate-limit",
    "api-throttle",
    "request-limit",
    "request-throttling",
    "ddos-protection",
    "brute-force",
    "brute-force-protection",
    "login-protection",
    "redis-rate-limit",
    "typescript",
    "high-performance",
    "fast-rate-limiter",
    "fastest",
    "sliding-window",
    "fixed-window",
    "rate-limiter-flexible",
    "api-security",
    "request-limiter",
    "http-rate-limit",
    "bun-api",
    "bun-framework",
    "lightweight",
    "zero-dependency",
    "esm",
    "valkey",
    "valkey-rate-limit",
    "dragonfly",
    "dragonflydb",
    "dragonfly-rate-limit",
    "redis-alternative",
    "mongodb",
    "mongodb-rate-limit",
    "mongoose-rate-limit",
    "mysql",
    "mysql-rate-limit",
    "mysql2-rate-limit",
    "database-rate-limit"
  ],
  "type": "module",
  "main": "./dist/index.js",
  "module": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "bun": "./dist/index.js",
      "import": "./dist/index.js"
    },
    "./elysia": {
      "types": "./dist/elysia.d.ts",
      "bun": "./dist/elysia.js",
      "import": "./dist/elysia.js"
    },
    "./hono": {
      "types": "./dist/hono.d.ts",
      "bun": "./dist/hono.js",
      "import": "./dist/hono.js"
    },
    "./stores/memory": {
      "types": "./dist/stores/memory.d.ts",
      "bun": "./dist/stores/memory.js",
      "import": "./dist/stores/memory.js"
    },
    "./stores/redis": {
      "types": "./dist/stores/redis.d.ts",
      "bun": "./dist/stores/redis.js",
      "import": "./dist/stores/redis.js"
    },
    "./stores/sqlite": {
      "types": "./dist/stores/sqlite.d.ts",
      "bun": "./dist/stores/sqlite.js",
      "import": "./dist/stores/sqlite.js"
    },
    "./stores/postgres": {
      "types": "./dist/stores/postgres.d.ts",
      "bun": "./dist/stores/postgres.js",
      "import": "./dist/stores/postgres.js"
    },
    "./stores/valkey": {
      "types": "./dist/stores/valkey.d.ts",
      "bun": "./dist/stores/valkey.js",
      "import": "./dist/stores/valkey.js"
    },
    "./stores/dragonfly": {
      "types": "./dist/stores/dragonfly.d.ts",
      "bun": "./dist/stores/dragonfly.js",
      "import": "./dist/stores/dragonfly.js"
    },
    "./stores/mongodb": {
      "types": "./dist/stores/mongodb.d.ts",
      "bun": "./dist/stores/mongodb.js",
      "import": "./dist/stores/mongodb.js"
    },
    "./stores/mysql": {
      "types": "./dist/stores/mysql.d.ts",
      "bun": "./dist/stores/mysql.js",
      "import": "./dist/stores/mysql.js"
    }
  },
  "files": [
    "dist"
  ],
  "sideEffects": false,
  "scripts": {
    "build": "bun build ./src/index.ts ./src/elysia.ts ./src/hono.ts ./src/stores/memory.ts ./src/stores/redis.ts ./src/stores/sqlite.ts ./src/stores/postgres.ts ./src/stores/valkey.ts ./src/stores/dragonfly.ts ./src/stores/mongodb.ts ./src/stores/mysql.ts --outdir=./dist --root=./src --target=bun --external=elysia --external=hono --external=ioredis --external=mongodb --external=mysql2 --external=@sinclair/typebox && tsc --emitDeclarationOnly",
    "clean": "rm -rf dist",
    "test": "bun test",
    "test:watch": "bun test --watch"
  },
  "dependencies": {
    "@joint-ops/hitlimit-types": "1.5.0"
  },
  "peerDependencies": {
    "elysia": ">=1.0.0",
    "hono": ">=4.0.0",
    "ioredis": ">=5.0.0",
    "mongodb": ">=6.0.0",
    "mysql2": ">=3.0.0",
    "pg": ">=8.0.0"
  },
  "peerDependenciesMeta": {
    "elysia": {
      "optional": true
    },
    "hono": {
      "optional": true
    },
    "ioredis": {
      "optional": true
    },
    "mongodb": {
      "optional": true
    },
    "mysql2": {
      "optional": true
    },
    "pg": {
      "optional": true
    }
  },
  "devDependencies": {
    "@sinclair/typebox": "^0.34.48",
    "@types/bun": "latest",
    "@types/pg": "^8.11.0",
    "elysia": "^1.0.0",
    "hono": "^4.11.9",
    "ioredis": "^5.3.0",
    "mongodb": "^7.1.0",
    "mysql2": "^3.18.2",
    "pg": "^8.13.0",
    "typescript": "^5.3.0"
  }
}
