{
  "name": "taglib-wasm",
  "version": "1.1.2",
  "description": "TagLib-Wasm is the universal tagging library for TypeScript/JavaScript platforms: Browsers, Node.js, Deno, Bun, Cloudflare Workers, and Electron apps",
  "type": "module",
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "browser": "./dist/index.browser.js",
  "exports": {
    ".": {
      "browser": {
        "types": "./dist/index.browser.d.ts",
        "default": "./dist/index.browser.js"
      },
      "default": {
        "types": "./dist/index.d.ts",
        "default": "./dist/index.js"
      }
    },
    "./simple": {
      "browser": {
        "types": "./dist/simple.browser.d.ts",
        "default": "./dist/simple.browser.js"
      },
      "default": {
        "types": "./dist/simple.d.ts",
        "default": "./dist/simple.js"
      }
    },
    "./folder": {
      "types": "./dist/folder.d.ts",
      "default": "./dist/folder.js"
    },
    "./web": {
      "types": "./dist/web.d.ts",
      "default": "./dist/web.js"
    },
    "./rating": {
      "types": "./dist/rating.d.ts",
      "default": "./dist/rating.js"
    }
  },
  "typesVersions": {
    "*": {
      "simple": [
        "dist/simple.d.ts"
      ],
      "folder": [
        "dist/folder.d.ts"
      ],
      "web": [
        "dist/web.d.ts"
      ],
      "rating": [
        "dist/rating.d.ts"
      ]
    }
  },
  "files": [
    "dist/**/*",
    "!dist/poc",
    "!dist/browser",
    "!dist/deno-compile",
    "index.ts",
    "index.browser.ts",
    "simple.ts",
    "simple.browser.ts",
    "folder.ts",
    "web.ts",
    "rating.ts",
    "src/**/*.ts",
    "!src/**/*.test.ts",
    "README.md",
    "AGENTS.md",
    "LICENSE"
  ],
  "scripts": {
    "build:wasm": "./build/build-wasm.sh",
    "build:ts": "tsc && deno run --allow-read --allow-write --allow-run --allow-env scripts/build-js.mjs",
    "postbuild": "deno run --allow-read --allow-write --allow-run --allow-env scripts/postbuild.mjs",
    "build:copy-wasm": "mkdir -p dist && cp build/taglib-web.wasm build/taglib_wasi.wasm build/taglib-wrapper.js build/taglib-wrapper.d.ts dist/",
    "build": "npm run build:wasm && npm run build:copy-wasm && npm run build:ts && npm run postbuild",
    "test": "deno test --allow-read --allow-write --allow-env tests/",
    "test:all": "deno test --allow-read --allow-write --allow-env tests/index.test.ts",
    "test:core": "deno test --allow-read --allow-write --allow-env tests/taglib.test.ts",
    "test:pictures": "deno test --allow-read --allow-write --allow-env tests/picture-api.test.ts",
    "test:edge": "deno test --allow-read --allow-write --allow-env tests/edge-cases.test.ts",
    "test:errors": "deno test --allow-read --allow-write --allow-env tests/error-handling.test.ts",
    "test:memory": "deno test --allow-read --allow-write --allow-env tests/memory.test.ts",
    "test:extended": "deno test --allow-read --allow-write --allow-env tests/extended-metadata.test.ts",
    "test:multi-runtime": "./tests/test-runtimes.sh",
    "test:bun": "bun test tests/bun-integration.test.ts",
    "test:node": "tsx --test tests/index.test.ts",
    "test:watch": "deno test --allow-read --allow-write --allow-env --watch tests/",
    "test:coverage": "deno test --allow-read --allow-write --allow-env --coverage=coverage tests/ && deno coverage coverage",
    "test:coverage:lcov": "deno test --allow-read --allow-write --allow-env --coverage=coverage tests/ && deno coverage coverage --lcov --output=coverage/lcov.info",
    "test:local": "./scripts/test-local-package.sh",
    "test:deno-quick": "./scripts/quick-deno-test.ts",
    "test:deno-imports": "./scripts/test-deno-imports.sh",
    "test:amusic": "./scripts/test-with-amusic.sh",
    "test:package": "./scripts/test-npm-package.sh",
    "docs:dev": "cd docs && npm install && npm run dev",
    "docs:build": "cd docs && npm install && npm run build",
    "update-taglib": "./scripts/update-taglib.sh",
    "release": "./scripts/release-safe.sh",
    "release:quick": "./scripts/release.sh",
    "publish:npm": "echo 'Use GitHub Actions workflow for publishing'",
    "publish:github": "echo 'Use GitHub Actions workflow for publishing'",
    "lint:ts": "eslint .",
    "lint:ts:time": "time eslint ."
  },
  "engines": {
    "node": ">=22.6.0"
  },
  "keywords": [
    "taglib",
    "webassembly",
    "wasm",
    "metadata",
    "mp3",
    "mp4",
    "flac",
    "audio",
    "typescript",
    "bun",
    "deno",
    "node",
    "browser",
    "cloudflare",
    "workers",
    "electron",
    "replaygain",
    "musicbrainz",
    "acoustid"
  ],
  "author": "Charles Wiltgen <cwiltgen@gmail.com>",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/CharlesWiltgen/TagLib-Wasm.git"
  },
  "publishConfig": {
    "registry": "https://registry.npmjs.org/"
  },
  "bugs": {
    "url": "https://github.com/CharlesWiltgen/TagLib-Wasm/issues"
  },
  "homepage": "https://github.com/CharlesWiltgen/TagLib-Wasm#readme",
  "dependencies": {
    "@msgpack/msgpack": "^3.1.3"
  },
  "devDependencies": {
    "@types/emscripten": "^1.41.5",
    "@types/node": "^24.10.4",
    "esbuild": "^0.27.2",
    "eslint": "^10.0.2",
    "fast-check": "^4.5.3",
    "tsx": "^4.21.0",
    "typescript": "^5.9.3",
    "typescript-eslint": "^8.56.1"
  },
  "peerDependencies": {
    "typescript": ">=4.5.0"
  },
  "peerDependenciesMeta": {
    "typescript": {
      "optional": true
    }
  }
}
