{
  "name": "otp-io",
  "version": "1.2.7",
  "description": "🕖 Typed library to work 2fa via Google Authenticator/Time-based TOTP/Hmac-based HOTP",
  "scripts": {
    "test": "jest",
    "build:dist": "rimraf dist && rollup -c",
    "build:docs": "typedoc",
    "build": "npm run build:dist && npm run build:docs",
    "prepack": "npm run build",
    "lint": "eslint src/*",
    "prettify": "prettier --write src/**/*"
  },
  "main": "./index.js",
  "module": "./index.mjs",
  "type": "commonjs",
  "types": "./index.d.ts",
  "typings": "./index.d.ts",
  "sideEffects": false,
  "exports": {
    "./package.json": "./package.json",
    ".": {
      "require": "./index.js",
      "import": "./index.mjs",
      "types": "./index.d.ts"
    },
    "./crypto-node": {
      "require": "./crypto-node.js",
      "import": "./crypto-node.mjs",
      "types": "./crypto-node.d.ts"
    },
    "./crypto-web": {
      "require": "./crypto-web.js",
      "import": "./crypto-web.mjs",
      "types": "./crypto-web.d.ts"
    },
    "./crypto-browser": {
      "require": "./crypto-web.js",
      "import": "./crypto-web.mjs",
      "types": "./crypto-web.d.ts"
    },
    "./crypto": {
      "node": {
        "require": "./crypto-node.js",
        "import": "./crypto-node.mjs",
        "types": "./crypto-node.d.ts"
      },
      "require": "./crypto-web.js",
      "import": "./crypto-web.mjs",
      "types": "./crypto-web.d.ts"
    }
  },
  "publishConfig": {
    "access": "public"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/AlexXanderGrib/otp.git"
  },
  "keywords": [
    "2fa",
    "otp",
    "hotp",
    "topt",
    "google authenticator",
    "authenticator",
    "one time password",
    "one-time-password",
    "authentication",
    "2 factor",
    "node",
    "browser",
    "frontend",
    "backend"
  ],
  "files": [
    "dist/",
    "src/",
    "coverage/",
    "examples/",
    "index.js",
    "index.mjs",
    "index.d.ts",
    "crypto-web.js",
    "crypto-web.mjs",
    "crypto-web.d.ts",
    "crypto-node.js",
    "crypto-node.mjs",
    "crypto-node.d.ts",
    "crypto.js",
    "crypto.d.ts",
    "README.md",
    "CHANGELOG.md",
    "CONTRIBUTING.md",
    "LICENSE.txt",
    "SECURITY.md",
    "CODE_OF_CONDUCT.md"
  ],
  "author": "Alexander G <me@alexxgrib.me> (https://alexxgrib.me/)",
  "maintainers": [
    "Alexander G <me@alexxgrib.me> (https://alexxgrib.me/)"
  ],
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/AlexXanderGrib/otp/issues"
  },
  "homepage": "https://github.com/AlexXanderGrib/otp#readme",
  "devDependencies": {
    "@types/jest": "^29.5.14",
    "@types/node": "^22.10.2",
    "@typescript-eslint/eslint-plugin": "^8.19.0",
    "@typescript-eslint/parser": "^8.19.0",
    "eslint": "^8.44.0",
    "eslint-config-google": "^0.14.0",
    "eslint-config-prettier": "^8.8.0",
    "eslint-plugin-import": "^2.27.5",
    "eslint-plugin-prettier": "^5.0.0",
    "eslint-plugin-promise": "^6.1.1",
    "eslint-plugin-security": "^1.7.1",
    "eslint-plugin-unicorn": "^47.0.0",
    "glob": "^11.0.0",
    "jest": "^29.7.0",
    "prettier": "^3.4.2",
    "rimraf": "^6.0.1",
    "rollup": "^4.29.1",
    "rollup-plugin-cleanup": "^3.2.1",
    "rollup-plugin-prettier": "^4.1.1",
    "rollup-plugin-typescript2": "^0.36.0",
    "ts-jest": "^29.2.5",
    "ts-node": "^10.9.2",
    "typedoc": "^0.27.6",
    "typedoc-plugin-markdown": "^4.4.0",
    "typedoc-plugin-missing-exports": "^3.1.0",
    "typescript": "^5.7.2"
  },
  "engines": {
    "node": ">=14"
  }
}