{
  "name": "@hackylabs/deep-redact",
  "version": "3.0.5",
  "description": "A fast, safe and configurable zero-dependency library for redacting strings or deeply redacting arrays and objects.",
  "private": false,
  "license": "MIT",
  "author": "Benjamin Green (https://bengreen.dev)",
  "funding": "https://ko-fi.com/hackylabs",
  "types": "./dist/types/index.d.ts",
  "main": "./dist/index.js",
  "module": "./dist/index.mjs",
  "exports": {
    ".": {
      "import": "./dist/index.mjs",
      "require": "./dist/index.js",
      "types": "./dist/types/index.d.ts"
    },
    "./index.ts": {
      "import": "./dist/index.mjs",
      "require": "./dist/index.js",
      "types": "./dist/types/index.d.ts"
    },
    "./types.ts": {
      "import": "./dist/types.mjs",
      "require": "./dist/types.js",
      "types": "./dist/types/types.d.ts"
    },
    "./utils/TransformerRegistry.ts": {
      "import": "./dist/utils/TransformerRegistry.mjs",
      "require": "./dist/utils/TransformerRegistry.js",
      "types": "./dist/types/utils/TransformerRegistry.d.ts"
    },
    "./utils/index.ts": {
      "import": "./dist/utils/index.mjs",
      "require": "./dist/utils/index.js",
      "types": "./dist/types/utils/index.d.ts"
    },
    "./utils/standardTransformers/bigint.ts": {
      "import": "./dist/utils/standardTransformers/bigint.mjs",
      "require": "./dist/utils/standardTransformers/bigint.js",
      "types": "./dist/types/utils/standardTransformers/bigint.d.ts"
    },
    "./utils/standardTransformers/date.ts": {
      "import": "./dist/utils/standardTransformers/date.mjs",
      "require": "./dist/utils/standardTransformers/date.js",
      "types": "./dist/types/utils/standardTransformers/date.d.ts"
    },
    "./utils/standardTransformers/error.ts": {
      "import": "./dist/utils/standardTransformers/error.mjs",
      "require": "./dist/utils/standardTransformers/error.js",
      "types": "./dist/types/utils/standardTransformers/error.d.ts"
    },
    "./utils/standardTransformers/index.ts": {
      "import": "./dist/utils/standardTransformers/index.mjs",
      "require": "./dist/utils/standardTransformers/index.js",
      "types": "./dist/types/utils/standardTransformers/index.d.ts"
    },
    "./utils/standardTransformers/map.ts": {
      "import": "./dist/utils/standardTransformers/map.mjs",
      "require": "./dist/utils/standardTransformers/map.js",
      "types": "./dist/types/utils/standardTransformers/map.d.ts"
    },
    "./utils/standardTransformers/regex.ts": {
      "import": "./dist/utils/standardTransformers/regex.mjs",
      "require": "./dist/utils/standardTransformers/regex.js",
      "types": "./dist/types/utils/standardTransformers/regex.d.ts"
    },
    "./utils/standardTransformers/set.ts": {
      "import": "./dist/utils/standardTransformers/set.mjs",
      "require": "./dist/utils/standardTransformers/set.js",
      "types": "./dist/types/utils/standardTransformers/set.d.ts"
    },
    "./utils/standardTransformers/url.ts": {
      "import": "./dist/utils/standardTransformers/url.mjs",
      "require": "./dist/utils/standardTransformers/url.js",
      "types": "./dist/types/utils/standardTransformers/url.d.ts"
    }
  },
  "files": [
    "dist"
  ],
  "keywords": [
    "json",
    "xml",
    "document",
    "fast",
    "redact",
    "redaction",
    "redactor",
    "redacting",
    "redacted",
    "secrets",
    "sensitive data",
    "sensitive information",
    "personal data",
    "personally identifiable information",
    "general data protection regulation",
    "data protection",
    "data security",
    "GDPR",
    "PII"
  ],
  "repository": {
    "type": "git",
    "url": "git+https://github.com/hackylabs/deep-redact"
  },
  "scripts": {
    "lint": "eslint",
    "build": "npm run lint && npm run test && npm run bench && npm run build:esm && npm run build:cjs && npm run update-exports && npm run test:build && npm run update-readme && npm run update-license",
    "build:dev": "rm -rf dist && npm run build:esm && npm run build:cjs && npm run update-exports",
    "build:esm": "tsc --project tsconfig.esm.json && ./scripts/js-to-mjs.sh",
    "build:cjs": "tsc --project tsconfig.cjs.json",
    "bench": "npx vitest bench --watch=false",
    "bench:dev": "npx vitest bench",
    "test:dev": "npx vitest",
    "test": "npx vitest run",
    "test:build": "npx vitest run test/build.test.ts --reporter=basic --coverage=false",
    "test:build:dev": "npm run build:cjs && npm run build:esm && npm run update-exports && npx vitest test/build.test.ts --coverage=false --reporter=basic",
    "test:load": "npx vitest run test/load/redact.test.ts --reporter=basic --coverage=false",
    "test:load:dev": "npx vitest test/load/redact.test.ts --coverage=false --reporter=basic",
    "test:unit": "npx vitest run test/unit --reporter=verbose",
    "test:unit:dev": "npx vitest test/unit --coverage=false --reporter=verbose",
    "update-readme": "npx ts-node ./scripts/update-readme.ts",
    "update-license": "npx ts-node ./scripts/update-license.ts",
    "update-exports": "npx ts-node ./scripts/update-exports.ts"
  },
  "//": [
    "autocannon, fast-redact and obglob are installed only as internal benchmark comparisons and are not used in the library",
    "all dependencies are for development purposes only"
  ],
  "devDependencies": {
    "@hackylabs/obglob": "1.1.2",
    "@memlab/core": "1.1.34",
    "@types/autocannon": "7.12.6",
    "@types/fast-redact": "3.0.4",
    "@types/node": "20.14.12",
    "@typescript-eslint/eslint-plugin": "7.14.1",
    "@typescript-eslint/parser": "7.14.1",
    "@vitest/coverage-v8": "2.0.4",
    "autocannon": "8.0.0",
    "eslint": "8.57.0",
    "eslint-config-airbnb-base": "15.0.0",
    "eslint-config-airbnb-typescript": "18.0.0",
    "eslint-plugin-import": "2.29.1",
    "eslint-plugin-n": "17.9.0",
    "eslint-plugin-promise": "7.0.0",
    "fast-redact": "3.5.0",
    "typescript": "5.6.2",
    "vitest": "2.0.4"
  },
  "editor.formatOnSave": true,
  "editor.formatOnPaste": true,
  "editor.defaultFormatter": "EditorConfig.editorconfig"
}
