{
  "name": "compress-utils",
  "version": "0.8.0",
  "description": "WASM compression bindings for zstd, brotli, zlib, bz2, lz4, xz, snappy, gzip - all tree-shakeable.",
  "type": "module",
  "sideEffects": false,
  "repository": {
    "type": "git",
    "url": "git+https://github.com/dupontcyborg/compress-utils.git",
    "directory": "bindings/wasm"
  },
  "homepage": "https://github.com/dupontcyborg/compress-utils#readme",
  "bugs": {
    "url": "https://github.com/dupontcyborg/compress-utils/issues"
  },
  "author": "Nicolas Dupont <nico@dupont.live> (https://nico.codes)",
  "license": "MIT",
  "keywords": [
    "compression",
    "decompression",
    "wasm",
    "webassembly",
    "zstd",
    "brotli",
    "zlib",
    "gzip",
    "bzip2",
    "lz4",
    "xz",
    "lzma",
    "snappy"
  ],
  "publishConfig": {
    "access": "public",
    "provenance": true
  },
  "exports": {
    "./zstd": "./dist/algorithms/zstd/index.js",
    "./zstd/decompress": "./dist/algorithms/zstd/decompress/index.js",
    "./zstd/compress": "./dist/algorithms/zstd/compress/index.js",
    "./brotli": "./dist/algorithms/brotli/index.js",
    "./brotli/decompress": "./dist/algorithms/brotli/decompress/index.js",
    "./brotli/compress": "./dist/algorithms/brotli/compress/index.js",
    "./zlib": "./dist/algorithms/zlib/index.js",
    "./zlib/decompress": "./dist/algorithms/zlib/decompress/index.js",
    "./zlib/compress": "./dist/algorithms/zlib/compress/index.js",
    "./bz2": "./dist/algorithms/bz2/index.js",
    "./bz2/decompress": "./dist/algorithms/bz2/decompress/index.js",
    "./bz2/compress": "./dist/algorithms/bz2/compress/index.js",
    "./lz4": "./dist/algorithms/lz4/index.js",
    "./lz4/decompress": "./dist/algorithms/lz4/decompress/index.js",
    "./lz4/compress": "./dist/algorithms/lz4/compress/index.js",
    "./xz": "./dist/algorithms/xz/index.js",
    "./xz/decompress": "./dist/algorithms/xz/decompress/index.js",
    "./xz/compress": "./dist/algorithms/xz/compress/index.js",
    "./snappy": "./dist/algorithms/snappy/index.js",
    "./snappy/decompress": "./dist/algorithms/snappy/decompress/index.js",
    "./snappy/compress": "./dist/algorithms/snappy/compress/index.js",
    "./gzip": "./dist/algorithms/gzip/index.js",
    "./gzip/decompress": "./dist/algorithms/gzip/decompress/index.js",
    "./gzip/compress": "./dist/algorithms/gzip/compress/index.js"
  },
  "imports": {
    "#resolver": {
      "types": "./src/core/resolve-default.ts",
      "browser": "./dist/core/resolve-browser.js",
      "deno": "./dist/core/resolve-browser.js",
      "bun": "./dist/core/resolve-browser.js",
      "node": "./dist/core/resolve-node.js",
      "default": "./dist/core/resolve-default.js"
    }
  },
  "files": [
    "dist/",
    "README.md",
    "LICENSE"
  ],
  "scripts": {
    "build:wasm": "cmake -S ../.. -B ../../build-wasm -DBUILD_WASM_BINDINGS=ON -DBUILD_PYTHON_BINDINGS=OFF -DBUILD_CPP_BINDINGS=OFF -DENABLE_TESTS=OFF -DCMAKE_BUILD_TYPE=Release && cmake --build ../../build-wasm --target compress_utils_wasm -j",
    "build:ts": "tsc -p tsconfig.json",
    "build": "npm run build:wasm && npm run build:ts",
    "test": "vitest run",
    "test:watch": "vitest",
    "test:size": "vitest run tests/bundle.test.ts",
    "test:browser": "playwright test",
    "test:deno": "deno run --allow-read --allow-env tests-runtime/deno-smoke.ts",
    "test:bun": "bun test --bun tests/",
    "lint": "biome lint .",
    "lint:fix": "biome lint --write .",
    "format": "biome format --write .",
    "check": "biome check ."
  },
  "devDependencies": {
    "@biomejs/biome": "2.4.15",
    "@playwright/test": "^1.60.0",
    "@types/node": "^25.8.0",
    "esbuild": "^0.28.0",
    "typescript": "^5.5.0",
    "vitest": "^4.1.6"
  },
  "engines": {
    "node": ">=18"
  }
}
