{
  "name": "poly-crypto",
  "version": "2.3.0",
  "description": "High-level cryptographic functions that are interoperable between NodeJS and PHP 7.1+.",
  "type": "module",
  "main": "./dist/index.cjs",
  "module": "./dist/index.mjs",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "require": "./dist/index.cjs",
      "import": "./dist/index.mjs",
      "types": "./dist/index.d.ts"
    }
  },
  "files": [
    "dist",
    "cli",
    "README.md",
    "LICENSE.md"
  ],
  "sideEffects": false,
  "scripts": {
    "test": "vitest run",
    "test-watch": "vitest",
    "build": "npm run build:clean && npm run build:dts && npm run build:esm && npm run build:cjs",
    "build:clean": "rimraf dist/ && mkdir dist",
    "build:dts": "yes | npx dts-bundle-generator -o dist/index.d.ts src/index.ts",
    "build:esm": "yes | npx esbuild src/index.ts --minify --bundle --platform=node --format=esm --outfile=dist/index.mjs",
    "build:cjs": "yes | npx esbuild src/index.ts --minify --bundle --platform=node --format=cjs --outfile=dist/index.cjs",
    "coverage": "vitest run --coverage",
    "view-coverage": "open ./coverage/lcov-report/index.html",
    "test:php": "./vendor/bin/kahlan --spec=tests",
    "test:all": "npm test && npm run test:php"
  },
  "bin": {
    "key-encrypt": "cli/aes-key-encrypt.cjs",
    "pass-encrypt": "cli/aes-pass-encrypt.cjs",
    "key-decrypt": "cli/aes-key-decrypt.cjs",
    "pass-decrypt": "cli/aes-pass-decrypt.cjs",
    "bcrypt-hash": "cli/bcrypt-hash.cjs",
    "bcrypt-verify": "cli/bcrypt-verify.cjs",
    "poly-digest": "cli/digest.cjs",
    "poly-rand": "cli/rand.cjs",
    "poly-rand-string": "cli/rand-string.cjs",
    "convert-base": "cli/convert-base.cjs"
  },
  "keywords": [
    "encryption",
    "decryption",
    "encrypt",
    "decrypt",
    "AES",
    "AES-256",
    "AES256",
    "AES-256-GCM",
    "AES256GCM",
    "GCM",
    "bcrypt",
    "md5",
    "sha1",
    "sha256",
    "sha512",
    "hash",
    "digest",
    "slug",
    "symmetric",
    "cipher",
    "ciphertext",
    "crypto",
    "cryptography",
    "Node",
    "NodeJS",
    "node-forge",
    "PHP",
    "openssl",
    "random",
    "urandom",
    "uuid",
    "uuidv4",
    "uuid v4"
  ],
  "repository": {
    "type": "git",
    "url": "git+https://github.com/kensnyder/poly-crypto.git"
  },
  "author": "kendsnyder@gmail.com",
  "license": "ISC",
  "bugs": {
    "url": "https://github.com/kensnyder/poly-crypto/issues"
  },
  "homepage": "https://github.com/kensnyder/poly-crypto#readme",
  "dependencies": {
    "bcryptjs": "2.4.3",
    "node-forge": "1.3.1"
  },
  "devDependencies": {
    "@types/node": "22.10.3",
    "@types/node-forge": "1.3.11",
    "@vitest/coverage-c8": "0.33.0",
    "@vitest/coverage-v8": "2.1.8",
    "prettier": "3.4.2",
    "prettier-plugin-organize-imports": "4.1.0",
    "rimraf": "6.0.1",
    "typescript": "5.7.2",
    "vitest": "2.1.8"
  }
}
