{
  "name": "express-useragent",
  "description": "JS Library & ExpressJS user-agent middleware exposing",
  "version": "2.1.0",
  "homepage": "https://github.com/biggora/express-useragent/",
  "repository": {
    "type": "git",
    "url": "git://github.com/biggora/express-useragent.git"
  },
  "license": "MIT",
  "author": {
    "name": "Aleksejs Gordejevs",
    "email": "aleksej@gordejev.lv",
    "url": "https://github.com/biggora"
  },
  "contributors": [
    {
      "name": "Kacper Glowacki",
      "url": "https://github.com/kacperus"
    },
    {
      "name": "elisee",
      "url": "https://github.com/elisee"
    },
    {
      "name": "Bitdeli Chef",
      "url": "https://github.com/bitdeli-chef"
    },
    {
      "name": "Nicolas Tobo",
      "url": "https://github.com/nicolastobo"
    },
    {
      "name": "Samy Pess�",
      "url": "https://github.com/SamyPesse"
    },
    {
      "name": "Artem Nezvigin",
      "url": "https://github.com/artnez"
    },
    {
      "name": "Josh Dickson",
      "url": "https://github.com/joshdickson40"
    },
    {
      "name": "Kewang",
      "url": "https://github.com/kewang"
    }
  ],
  "keywords": [
    "useragent",
    "connect",
    "express",
    "trinte",
    "browser",
    "compound",
    "middleware"
  ],
  "main": "./dist/index.cjs",
  "module": "./dist/index.mjs",
  "types": "./dist/index.d.ts",
  "scripts": {
    "test": "npm run test:vitest",
    "test:vitest": "npm run build --silent && vitest run --config vitest.config.mjs",
    "test:watch": "npm run build --silent && vitest watch --config vitest.config.mjs",
    "express": "tsx examples/server.ts",
    "http": "tsx examples/http.ts",
    "simple": "tsx examples/simple.ts",
    "build": "npm run clean && npm run build:ts",
    "build:ts": "tsup --config tsup.config.ts",
    "build:watch": "npm run build:ts -- --watch",
    "clean": "rimraf dist",
    "lint": "eslint \"{src,tests,examples}/**/*.{ts,tsx}\"",
    "lint:fix": "npm run lint -- --fix",
    "format": "prettier --write \"{src,tests,examples}/**/*.{ts,tsx,js,cjs,mjs,json,md}\"",
    "typecheck": "tsc --noEmit",
    "prepublishOnly": "npm run build"
  },
  "directories": {
    "tests": "tests/legacy"
  },
  "files": [
    "dist",
    "src",
    "README.md",
    "LICENSE"
  ],
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.mjs",
      "require": "./dist/index.cjs",
      "default": "./dist/index.cjs"
    },
    "./browser": {
      "types": "./dist/index.d.ts",
      "default": "./dist/browser/express-useragent.global.js"
    },
    "./browser/min": {
      "types": "./dist/index.d.ts",
      "default": "./dist/browser/express-useragent.global.min.js"
    },
    "./package.json": "./package.json"
  },
  "engines": {
    "node": ">=18"
  },
  "devDependencies": {
    "@types/express": "^5.0.5",
    "@types/node": "^20.11.24",
    "@typescript-eslint/eslint-plugin": "^7.1.1",
    "@typescript-eslint/parser": "^7.1.1",
    "eslint": "^8.57.0",
    "eslint-config-prettier": "^9.1.0",
    "eslint-plugin-prettier": "^5.1.3",
    "express": "^5.1.0",
    "prettier": "^3.2.5",
    "rimraf": "^5.0.5",
    "tsup": "^8.0.1",
    "tsx": "^4.7.0",
    "typescript": "^5.4.2",
    "vitest": "^4.0.5"
  }
}
