{
  "name": "locutus",
  "version": "3.0.34",
  "description": "Locutus other languages' standard libraries to JavaScript for fun and educational purposes",
  "keywords": [
    "php",
    "golang",
    "c",
    "ruby",
    "python",
    "js",
    "locutus"
  ],
  "homepage": "https://locutus.io",
  "bugs": {
    "url": "https://github.com/locutusjs/locutus/issues"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/locutusjs/locutus.git"
  },
  "type": "commonjs",
  "license": "MIT",
  "author": "Kevin van Zonneveld <kevin@vanzonneveld.net>",
  "browser": {
    "child_process": false,
    "crypto": false,
    "fs": false
  },
  "scripts": {
    "browser:install": "playwright install chromium",
    "browser:test": "vitest run --config vitest.browser.config.ts",
    "browser:watch": "vitest --config vitest.browser.config.ts --watch",
    "build:dist": "node scripts/rmrf.ts dist && cp -r src dist && cp package.json README.md dist && tsc -p tsconfig.build.json --outDir dist && tsc -p tsconfig.build.esm.json --outDir dist/esm && find dist -name '*.ts' ! -name '*.d.ts' -delete && node scripts/fix-cjs-exports.ts dist && node scripts/rmrf.ts dist/_util dist/esm/_util",
    "build:indices": "node src/_util/cli.ts reindex",
    "build:tests:noskip": "node scripts/rmrf.ts test/generated && node src/_util/cli.ts writetests --noskip",
    "build:tests": "node scripts/rmrf.ts test/generated && node src/_util/cli.ts writetests",
    "build": "npm-run-all 'build:*'",
    "injectweb": "node scripts/rmrf.ts website/source/c website/source/golang website/source/php website/source/python website/source/ruby && node src/_util/cli.ts injectweb",
    "check": "npm-run-all --serial fix:biome lint lint:ts lint:ts:strict-next lint:ts:debt:policy lint:api:snapshot lint:type:contracts lint:headers lint:no-stray-js test:languages",
    "fix:biome": "biome check --write .",
    "fix:headers": "node src/_util/formatHeaders.ts fix",
    "lint:headers": "node src/_util/formatHeaders.ts check",
    "discover:upstream-surface": "node scripts/enumerate-upstream-surface.ts",
    "enumerate:upstream-surface": "node scripts/enumerate-upstream-surface.ts",
    "fold:upstream-surface": "node scripts/fold-upstream-surface.ts",
    "audit:upstream-scope": "node scripts/audit-upstream-scope.ts",
    "refresh:upstream-surface": "node scripts/refresh-upstream-surface.ts",
    "compare:dt:signatures": "node scripts/compare-definitelytyped-signatures.ts",
    "select:parity": "node scripts/select-parity-targets.ts",
    "lint:no-stray-js": "node scripts/check-allowed-js-files.ts",
    "lint:ts": "tsc --noEmit -p tsconfig.json",
    "lint:ts:strict-next": "tsc --noEmit -p tsconfig.strict-next.json",
    "lint:ts:debt:policy": "node scripts/check-ts-debt-policy.ts",
    "lint:api:snapshot:php": "node scripts/check-api-signature-snapshot.ts --scope=php",
    "lint:api:snapshot:nonphp": "node scripts/check-api-signature-snapshot.ts --scope=non-php",
    "lint:api:snapshot": "npm-run-all --serial lint:api:snapshot:php lint:api:snapshot:nonphp",
    "lint:type:contracts": "node scripts/check-type-contracts-snapshot.ts",
    "fix:api:snapshot:php": "node scripts/check-api-signature-snapshot.ts --scope=php --update",
    "fix:api:snapshot:nonphp": "node scripts/check-api-signature-snapshot.ts --scope=non-php --update",
    "fix:api:snapshot": "npm-run-all --serial fix:api:snapshot:php fix:api:snapshot:nonphp",
    "fix:type:contracts": "node scripts/check-type-contracts-snapshot.ts --update",
    "fix:markdown": "remark {README,CONTRIBUTING}.md --output",
    "fix": "npm-run-all --serial 'fix:**'",
    "lint": "biome check .",
    "playground:start": "yarn browser:watch",
    "test:languages:noskip": "yarn build:tests:noskip && vitest run",
    "test:languages": "yarn build:tests && vitest run",
    "test:module:smoke": "node test/module/module.ts",
    "test:module": "npm-run-all --serial build:dist test:module:smoke",
    "test:parity": "node test/parity/index.ts",
    "test:parity:php": "node test/parity/index.ts php",
    "test:upstream-surface": "node scripts/check-upstream-surface.ts",
    "test:util": "vitest run test/util/",
    "test": "npm-run-all test:languages test:module",
    "website:install": "cd website && yarn",
    "website:deploy": "cd website && yarn deploy",
    "website:start": "cd website && yarn server",
    "website:build": "cd website && yarn generate",
    "website:clean": "cd website && yarn clean",
    "website:verify": "node scripts/check-website-build.ts",
    "website:ci": "npm-run-all --serial website:install injectweb website:build website:verify"
  },
  "devDependencies": {
    "@biomejs/biome": "^2.4.6",
    "@types/node": "^25.4.0",
    "@vitest/browser-playwright": "^4.0.18",
    "cross-env": "10",
    "debug": "^4.4.3",
    "js-yaml": "4.1.1",
    "knip": "^5.86.0",
    "npm-run-all": "^4.1.5",
    "p-map": "^7.0.4",
    "playwright": "^1.58.2",
    "remark-cli": "^12.0.1",
    "remark-toc": "^9.0.0",
    "typescript": "^5.9.3",
    "vitest": "^4.0.18",
    "zod": "^4.3.6"
  },
  "resolutions": {
    "ansi-regex@npm:^5.0.0": "5.0.1",
    "brace-expansion@npm:^1.1.7": "1.1.12",
    "brace-expansion@npm:^2.0.1": "2.0.2",
    "braces@npm:~3.0.2": "3.0.3",
    "cross-spawn@npm:^6.0.5": "6.0.6",
    "cross-spawn@npm:^7.0.0": "7.0.5",
    "glob@npm:^10.0.0": "10.5.0",
    "glob@npm:^10.2.2": "10.5.0",
    "glob@npm:^10.3.10": "10.5.0",
    "hosted-git-info@npm:^2.1.4": "2.8.9",
    "minimatch@npm:^3.0.4": "3.1.4",
    "minimatch@npm:^9.0.0": "9.0.7",
    "minimatch@npm:^9.0.1": "9.0.7",
    "node-gyp@npm:latest": "12.2.0",
    "rollup@npm:^4.43.0": "4.59.0",
    "semver@npm:2 || 3 || 4 || 5": "5.7.2",
    "semver@npm:^5.5.0": "5.7.2"
  },
  "packageManager": "yarn@4.12.0",
  "engines": {
    "node": ">= 22",
    "yarn": ">= 1"
  },
  "readmeFilename": "README.md",
  "main": "./index.js",
  "module": "./esm/index.js",
  "types": "./index.d.ts",
  "exports": {
    ".": {
      "types": "./index.d.ts",
      "import": "./esm/index.js",
      "require": "./index.js",
      "default": "./index.js"
    },
    "./*": {
      "types": "./*.d.ts",
      "import": "./esm/*.js",
      "require": "./*.js",
      "default": "./*.js"
    },
    "./package.json": "./package.json"
  }
}
