{
  "name": "jsonl-logger",
  "version": "1.1.0",
  "description": "Lightweight ESM-only JSON Lines logger with pluggable formatters for Google Cloud Logging, VictoriaLogs, Elastic Common Schema (ECS), Datadog, and Pino, with OpenTelemetry trace-context support",
  "license": "MIT",
  "type": "module",
  "sideEffects": [
    "./src/preload.ts",
    "./dist/preload.js"
  ],
  "exports": {
    ".": {
      "bun": "./src/index.ts",
      "import": "./dist/index.js",
      "types": "./dist/index.d.ts"
    },
    "./datadog": {
      "bun": "./src/datadog.ts",
      "import": "./dist/datadog.js",
      "types": "./dist/datadog.d.ts"
    },
    "./elastic-common-schema": {
      "bun": "./src/elastic-common-schema.ts",
      "import": "./dist/elastic-common-schema.js",
      "types": "./dist/elastic-common-schema.d.ts"
    },
    "./google-cloud-logging": {
      "bun": "./src/google-cloud-logging.ts",
      "import": "./dist/google-cloud-logging.js",
      "types": "./dist/google-cloud-logging.d.ts"
    },
    "./pino": {
      "bun": "./src/pino.ts",
      "import": "./dist/pino.js",
      "types": "./dist/pino.d.ts"
    },
    "./victoria-logs": {
      "bun": "./src/victoria-logs.ts",
      "import": "./dist/victoria-logs.js",
      "types": "./dist/victoria-logs.d.ts"
    },
    "./intercept": {
      "bun": "./src/intercept.ts",
      "import": "./dist/intercept.js",
      "types": "./dist/intercept.d.ts"
    },
    "./preload": {
      "bun": "./src/preload.ts",
      "import": "./dist/preload.js",
      "types": "./dist/preload.d.ts"
    }
  },
  "files": [
    "dist",
    "src",
    "LICENSE",
    "README.md"
  ],
  "scripts": {
    "build": "bun run build:js && bun run build:types",
    "build:js": "bun build src/index.ts src/datadog.ts src/elastic-common-schema.ts src/google-cloud-logging.ts src/pino.ts src/victoria-logs.ts src/intercept.ts src/preload.ts --outdir dist --target node --format esm --minify",
    "build:types": "tsc --emitDeclarationOnly",
    "lint": "biome check --write .",
    "test": "bun test"
  },
  "devDependencies": {
    "@biomejs/biome": "2.5.8",
    "@types/bun": "1.3.14",
    "typescript": "7.0.2"
  },
  "keywords": [
    "logger",
    "jsonl",
    "json-lines",
    "esm",
    "structured-logging",
    "google-cloud-logging",
    "victoria-logs",
    "elastic-common-schema",
    "ecs",
    "datadog",
    "pino",
    "opentelemetry",
    "bun",
    "nextjs"
  ],
  "repository": {
    "type": "git",
    "url": "git+https://github.com/annexare/jsonl-logger.git"
  },
  "engines": {
    "node": ">=18"
  }
}
