s2-pmtiles 1.0.1

This library reads/writes The S2 PMTiles 1.0 Specification
Documentation
{
  "name": "s2-pmtiles",
  "version": "1.1.2",
  "description": "This library reads/writes PMTiles V3.0 as well as S2PMTiles V1.0",
  "keywords": [
    "PMTiles",
    "map",
    "tile",
    "open",
    "S2",
    "spec"
  ],
  "type": "module",
  "types": "./dist/index.d.ts",
  "typescript": {
    "main": "lib/index.ts"
  },
  "main": "dist/index.js",
  "exports": {
    ".": {
      "require": "./dist/index.js",
      "import": "./dist/index.js",
      "file": "./dist/file.js",
      "mmap": "./dist/mmap.js",
      "types": "./dist/index.d.ts"
    },
    "./dist/*": "./dist/*",
    "./file": {
      "require": "./dist/file.js",
      "import": "./dist/file.js",
      "types": "./dist/file.d.ts"
    },
    "./mmap": {
      "require": "./dist/mmap.js",
      "import": "./dist/mmap.js",
      "types": "./dist/mmap.d.ts"
    }
  },
  "scripts": {
    "lint+build+test+docs": "bun run lint && bun run build && bun run test && bun run docs",
    "lint": "eslint src test",
    "lint:fix": "bun run lint -- --fix",
    "prettier": "bunx prettier src test tools benchmarks --check",
    "prettier:fix": "bunx prettier -- --write",
    "format": "bunx prettier:fix && bun run lint:fix",
    "build": "rm -rf dist && mkdir dist && rm -f -- tsconfig.tsbuildinfo && tsc && bun run build.ts",
    "types:bundle": "bun run types:build && node scripts/types.mjs",
    "prepublishOnly": "bun run lint+build+test+docs",
    "package-check": "package-check",
    "test:dev": "bun test --watch --coverage",
    "test": "bun test",
    "test:coverage": "bun run test --coverage",
    "docs": "typedoc",
    "dependencies": "bunx depcruise src --include-only \"^src\" --output-type dot | dot -T svg > ./assets/dependency-graph.svg"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/Open-S2/s2-pmtiles.git"
  },
  "author": "Craig OConnor",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/Open-S2/s2-pmtiles/issues"
  },
  "files": [
    "dist",
    "s2-pmtiles-spec"
  ],
  "homepage": "https://github.com/Open-S2/s2-pmtiles#readme",
  "devDependencies": {
    "@skypack/package-check": "^0.2.2",
    "@types/bun": "^1.3.5",
    "@types/node": "^25.0.3",
    "@types/pbf": "^3.0.5",
    "@types/tmp": "^0.2.6",
    "coveralls": "^3.1.1",
    "eslint": "^9.39.2",
    "eslint-config-prettier": "^10.1.8",
    "eslint-plugin-jsdoc": "^61.5.0",
    "eslint-plugin-prettier": "^5.5.4",
    "eslint-plugin-tsdoc": "^0.5.0",
    "prettier": "^3.7.4",
    "s2-tilejson": "^1.13.0",
    "tmp": "^0.2.5",
    "typedoc": "^0.28.15",
    "typedoc-plugin-coverage": "^4.0.2",
    "typescript": "^5.9.3",
    "typescript-eslint": "^8.50.0"
  }
}