{"_id":"@maplibre/vt-pbf","_rev":"12-d5485225205dfa1bd1c64711367fc23c","name":"@maplibre/vt-pbf","dist-tags":{"latest":"4.3.3"},"versions":{"4.0.2":{"name":"@maplibre/vt-pbf","version":"4.0.2","author":{"url":"http://anandthakker.net/","name":"Anand Thakker","email":"vestibule@anandthakker.net"},"license":"MIT","_id":"@maplibre/vt-pbf@4.0.2","maintainers":[{"name":"maplibreorg","email":"board@maplibre.org"}],"homepage":"https://github.com/maplibre/vt-pbf#readme","bugs":{"url":"https://github.com/maplibre/vt-pbf/issues"},"dist":{"shasum":"7436c4f6290899f062f6d8677ed090d0a543be44","tarball":"https://registry.npmjs.org/@maplibre/vt-pbf/-/vt-pbf-4.0.2.tgz","fileCount":7,"integrity":"sha512-tQlrAvRfLYYa6H+yZJNXWfncEQqsOeR6awh8gkazyCUGOwzV+NIkQl+CrmCW/ABhlAa5Y6JDkiaGl7FdGqsoaA==","signatures":[{"sig":"MEQCIEekcxKJDIQCdJTh4v5mXieh6KFawyVJLEEfILCRbofIAiBKdhw3umxC+9EBJ+JRnFdZ80mWs19yn1TvzWCsmEB1oQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23665},"main":"dist/index.es.js","types":"dist/index.d.ts","gitHead":"ccede0e9e01e57406284b8e2b2c2a8ca3d3837f8","scripts":{"lint":"eslint index.ts lib/*.ts","build":"rollup --config rollup.config.ts --configPlugin typescript && tsc","test-unit":"vitest run --config vitest.config.unit.ts","test-unit-ci":"vitest run --config vitest.config.unit.ts --coverage"},"_npmUser":{"name":"maplibreorg","email":"board@maplibre.org"},"repository":{"url":"git+https://github.com/maplibre/vt-pbf.git","type":"git"},"_npmVersion":"10.9.2","description":"Serialize mapbox vector tiles to binary protobufs in javascript.","directories":{},"_nodeVersion":"22.13.1","dependencies":{"pbf":"^4.0.1","geojson-vt":"^4.0.2","supercluster":"^8.0.1","@types/geojson-vt":"3.2.5","@mapbox/vector-tile":"^2.0.4","@types/supercluster":"^7.1.3","@mapbox/point-geometry":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.8.1","eslint":"^8.57.1","rollup":"^4.44.1","vitest":"^3.2.4","standard":"^17.1.2","benchmark":"^2.1.4","@eslint/js":"^9.30.0","geojson-vt":"^4.0.2","typescript":"^5.8.3","@types/node":"^24.0.3","geojson-equality":"^0.2.1","typescript-eslint":"^8.35.1","eslint-plugin-node":"^11.1.0","@vitest/coverage-v8":"^3.2.4","vite-tsconfig-paths":"^5.1.4","@mapbox/mvt-fixtures":"^3.10.0","@maplibre/vtvalidate":"^0.3.2","@rollup/plugin-strip":"^3.0.4","eslint-plugin-import":"^2.32.0","@rollup/plugin-terser":"^0.4.4","eslint-plugin-promise":"^6.0.0","@rollup/plugin-replace":"^6.0.2","eslint-config-standard":"^17.1.0","@mapbox/geojson-fixtures":"^1.0.0","@rollup/plugin-typescript":"^12.1.4","@rollup/plugin-node-resolve":"^16.0.1"},"_npmOperationalInternal":{"tmp":"tmp/vt-pbf_4.0.2_1752526793749_0.7143160905554802","host":"s3://npm-registry-packages-npm-production"}},"4.0.3":{"name":"@maplibre/vt-pbf","version":"4.0.3","author":{"url":"http://anandthakker.net/","name":"Anand Thakker","email":"vestibule@anandthakker.net"},"license":"MIT","_id":"@maplibre/vt-pbf@4.0.3","maintainers":[{"name":"maplibreorg","email":"board@maplibre.org"}],"homepage":"https://github.com/maplibre/vt-pbf#readme","bugs":{"url":"https://github.com/maplibre/vt-pbf/issues"},"dist":{"shasum":"8702b8330cfa0efbe7c81eb2ae138e588a02bfa6","tarball":"https://registry.npmjs.org/@maplibre/vt-pbf/-/vt-pbf-4.0.3.tgz","fileCount":7,"integrity":"sha512-YsW99BwnT+ukJRkseBcLuZHfITB4puJoxnqPVjo72rhW/TaawVYsgQHcqWLzTxqknttYoDpgyERzWSa/XrETdA==","signatures":[{"sig":"MEQCIDsd2DUWbgeujsut6HiMMckQ/QigFUJHl7S5T5xM+bXhAiA82OgDntdP+OiR3PhsMynG565dMKNxIM5N+yViM56kaQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":23916},"main":"dist/index.es.js","type":"module","types":"dist/index.d.ts","gitHead":"7e2c6221d41d53e1807f151e364e2c216ec6c629","scripts":{"lint":"eslint index.ts lib/*.ts","build":"rollup --config rollup.config.ts --configPlugin typescript && tsc","test-unit":"vitest run --config vitest.config.unit.ts","test-unit-ci":"vitest run --config vitest.config.unit.ts --coverage"},"_npmUser":{"name":"maplibreorg","email":"board@maplibre.org"},"repository":{"url":"git+https://github.com/maplibre/vt-pbf.git","type":"git"},"_npmVersion":"10.9.2","description":"Serialize mapbox vector tiles to binary protobufs in javascript.","directories":{},"_nodeVersion":"22.13.1","dependencies":{"pbf":"^4.0.1","geojson-vt":"^4.0.2","supercluster":"^8.0.1","@types/geojson-vt":"3.2.5","@mapbox/vector-tile":"^2.0.4","@types/supercluster":"^7.1.3","@mapbox/point-geometry":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.8.1","eslint":"^8.57.1","rollup":"^4.44.1","vitest":"^3.2.4","standard":"^17.1.2","benchmark":"^2.1.4","@eslint/js":"^9.30.0","geojson-vt":"^4.0.2","typescript":"^5.8.3","@types/node":"^24.0.3","geojson-equality":"^0.2.1","typescript-eslint":"^8.35.1","eslint-plugin-node":"^11.1.0","@vitest/coverage-v8":"^3.2.4","vite-tsconfig-paths":"^5.1.4","@mapbox/mvt-fixtures":"^3.10.0","@maplibre/vtvalidate":"^0.3.2","@rollup/plugin-strip":"^3.0.4","eslint-plugin-import":"^2.32.0","@rollup/plugin-terser":"^0.4.4","eslint-plugin-promise":"^6.0.0","@rollup/plugin-replace":"^6.0.2","eslint-config-standard":"^17.1.0","@mapbox/geojson-fixtures":"^1.0.0","@rollup/plugin-typescript":"^12.1.4","@rollup/plugin-node-resolve":"^16.0.1"},"_npmOperationalInternal":{"tmp":"tmp/vt-pbf_4.0.3_1752607714326_0.9156238989222152","host":"s3://npm-registry-packages-npm-production"}},"4.1.0":{"name":"@maplibre/vt-pbf","version":"4.1.0","author":{"url":"http://anandthakker.net/","name":"Anand Thakker","email":"vestibule@anandthakker.net"},"license":"MIT","_id":"@maplibre/vt-pbf@4.1.0","maintainers":[{"name":"maplibreorg","email":"board@maplibre.org"},{"name":"harelmazor","email":"harel.mazor@gmail.com"},{"name":"birkskyum","email":"birk.skyum@pm.me"},{"name":"mwilsnd","email":"mwilsnd@gmail.com"}],"homepage":"https://github.com/maplibre/vt-pbf#readme","bugs":{"url":"https://github.com/maplibre/vt-pbf/issues"},"dist":{"shasum":"117c95b113e67aeacdf69443a631bb92d431d191","tarball":"https://registry.npmjs.org/@maplibre/vt-pbf/-/vt-pbf-4.1.0.tgz","fileCount":10,"integrity":"sha512-9LjFAoWtxdGRns8RK9vG3Fcw/fb3eHMxvAn2jffwn3jnVO1k49VOv6+FEza70rK7WzF8GnBiKa0K39RyfevKUw==","signatures":[{"sig":"MEYCIQCTlF2wrSnF40aJd3/sOz0Ic4Rgao0SG6HMfb9Cvp0yTgIhAPOtKOOdwzpJCC3w7+o2ow0PRmxSF3gAOSMlHTO4h3G+","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":25264},"main":"dist/index.es.js","type":"module","types":"dist/index.d.ts","gitHead":"d8da4b7e13869b6ca15f2eee9fff629c55de2219","scripts":{"lint":"eslint index.ts lib/*.ts","build":"rollup --config rollup.config.ts --configPlugin typescript && tsc","test-unit":"vitest run --config vitest.config.unit.ts","test-unit-ci":"vitest run --config vitest.config.unit.ts --coverage"},"_npmUser":{"name":"maplibreorg","email":"board@maplibre.org"},"repository":{"url":"git+https://github.com/maplibre/vt-pbf.git","type":"git"},"_npmVersion":"10.9.2","description":"Serialize mapbox vector tiles to binary protobufs in javascript.","directories":{},"_nodeVersion":"22.13.1","dependencies":{"pbf":"^4.0.1","geojson-vt":"^4.0.2","supercluster":"^8.0.1","@types/geojson-vt":"3.2.5","@mapbox/vector-tile":"^2.0.4","@types/supercluster":"^7.1.3","@mapbox/point-geometry":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.8.1","eslint":"^8.57.1","rollup":"^4.44.1","vitest":"^3.2.4","standard":"^17.1.2","benchmark":"^2.1.4","@eslint/js":"^9.30.0","geojson-vt":"^4.0.2","typescript":"^5.8.3","@types/node":"^24.0.3","geojson-equality":"^0.2.1","typescript-eslint":"^8.35.1","eslint-plugin-node":"^11.1.0","@vitest/coverage-v8":"^3.2.4","vite-tsconfig-paths":"^5.1.4","@mapbox/mvt-fixtures":"^3.10.0","@maplibre/vtvalidate":"^0.3.2","@rollup/plugin-strip":"^3.0.4","eslint-plugin-import":"^2.32.0","@rollup/plugin-terser":"^0.4.4","eslint-plugin-promise":"^6.0.0","@rollup/plugin-replace":"^6.0.2","eslint-config-standard":"^17.1.0","@mapbox/geojson-fixtures":"^1.0.0","@rollup/plugin-typescript":"^12.1.4","@rollup/plugin-node-resolve":"^16.0.1"},"_npmOperationalInternal":{"tmp":"tmp/vt-pbf_4.1.0_1764224863380_0.6244588507682327","host":"s3://npm-registry-packages-npm-production"}},"4.2.0":{"name":"@maplibre/vt-pbf","version":"4.2.0","author":{"url":"http://anandthakker.net/","name":"Anand Thakker","email":"vestibule@anandthakker.net"},"license":"MIT","_id":"@maplibre/vt-pbf@4.2.0","maintainers":[{"name":"maplibreorg","email":"board@maplibre.org"},{"name":"harelmazor","email":"harel.mazor@gmail.com"},{"name":"birkskyum","email":"birk.skyum@pm.me"},{"name":"mwilsnd","email":"mwilsnd@gmail.com"}],"homepage":"https://github.com/maplibre/vt-pbf#readme","bugs":{"url":"https://github.com/maplibre/vt-pbf/issues"},"dist":{"shasum":"403c6f8cfbc1e3730cbd3ff3d829bfb484403cd4","tarball":"https://registry.npmjs.org/@maplibre/vt-pbf/-/vt-pbf-4.2.0.tgz","fileCount":10,"integrity":"sha512-bxrk/kQUwWXZgmqYgwOCnZCMONCRi3MJMqJdza4T3E4AeR5i+VyMnaJ8iDWtWxdfEAJRtrzIOeJtxZSy5mFrFA==","signatures":[{"sig":"MEQCIDHHWKUUqvR7TdIR+S29+3V703hRu8TtvDYYJ/t3OA/2AiAthlcuspu7S8PN+Y+Y/T9G4VCIUO0r6LOhsy6KP5o5Gg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@maplibre%2fvt-pbf@4.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":25263},"main":"dist/index.es.js","type":"module","types":"dist/index.d.ts","gitHead":"c2af3ea7a79e0c410b6944b6ebf8799b35a65881","scripts":{"lint":"eslint index.ts lib/*.ts","build":"rollup --config rollup.config.ts --configPlugin typescript && tsc","test-unit":"vitest run --config vitest.config.unit.ts","test-unit-ci":"vitest run --config vitest.config.unit.ts --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:44edb4e4-8f74-4066-be34-2f0a2dfc7e53"}},"repository":{"url":"git+https://github.com/maplibre/vt-pbf.git","type":"git"},"_npmVersion":"11.6.2","description":"Serialize mapbox vector tiles to binary protobufs in javascript.","directories":{},"_nodeVersion":"24.12.0","dependencies":{"pbf":"^4.0.1","geojson-vt":"^4.0.2","supercluster":"^8.0.1","@types/geojson-vt":"3.2.5","@mapbox/vector-tile":"^2.0.4","@types/supercluster":"^7.1.3","@mapbox/point-geometry":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.8.1","eslint":"^8.57.1","rollup":"^4.44.1","vitest":"^3.2.4","standard":"^17.1.2","benchmark":"^2.1.4","@eslint/js":"^9.30.0","geojson-vt":"^4.0.2","typescript":"^5.8.3","@types/node":"^24.0.3","geojson-equality":"^0.2.1","typescript-eslint":"^8.35.1","eslint-plugin-node":"^11.1.0","@vitest/coverage-v8":"^3.2.4","vite-tsconfig-paths":"^5.1.4","@mapbox/mvt-fixtures":"^3.10.0","@maplibre/vtvalidate":"^0.3.2","@rollup/plugin-strip":"^3.0.4","eslint-plugin-import":"^2.32.0","@rollup/plugin-terser":"^0.4.4","eslint-plugin-promise":"^6.0.0","@rollup/plugin-replace":"^6.0.2","eslint-config-standard":"^17.1.0","@mapbox/geojson-fixtures":"^1.0.0","@rollup/plugin-typescript":"^12.1.4","@rollup/plugin-node-resolve":"^16.0.1"},"_npmOperationalInternal":{"tmp":"tmp/vt-pbf_4.2.0_1765772457084_0.9195483170482157","host":"s3://npm-registry-packages-npm-production"}},"4.2.1":{"name":"@maplibre/vt-pbf","version":"4.2.1","author":{"url":"http://anandthakker.net/","name":"Anand Thakker","email":"vestibule@anandthakker.net"},"license":"MIT","_id":"@maplibre/vt-pbf@4.2.1","maintainers":[{"name":"maplibreorg","email":"board@maplibre.org"},{"name":"harelmazor","email":"harel.mazor@gmail.com"},{"name":"birkskyum","email":"birk.skyum@pm.me"},{"name":"mwilsnd","email":"mwilsnd@gmail.com"}],"homepage":"https://github.com/maplibre/vt-pbf#readme","bugs":{"url":"https://github.com/maplibre/vt-pbf/issues"},"dist":{"shasum":"395d97bd5de68b5efabf0d56c535163bb88f75c7","tarball":"https://registry.npmjs.org/@maplibre/vt-pbf/-/vt-pbf-4.2.1.tgz","fileCount":12,"integrity":"sha512-IxZBGq/+9cqf2qdWlFuQ+ZfoMhWpxDUGQZ/poPHOJBvwMUT1GuxLo6HgYTou+xxtsOsjfbcjI8PZaPCtmt97rA==","signatures":[{"sig":"MEYCIQCDYX49Fpd6/u9hubBHM7v/JhtvyvpzMasgXf8wXx0vyQIhAPxMutvO2VFrUh3W/YI6oFhlYWqUL9+S+cTATqnE3E+c","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@maplibre%2fvt-pbf@4.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":31703},"main":"dist/index.es.js","type":"module","types":"dist/index.d.ts","gitHead":"9fda752c59c709981f3af2b57bcd6c520948f316","scripts":{"docs":"typedoc --entryPoints index.ts --out docs/API","lint":"eslint index.ts lib/**/*.ts test/**/*.ts","build":"rollup --config rollup.config.ts --configPlugin typescript && tsc","test-unit":"vitest run --config vitest.config.unit.ts","test-unit-ci":"vitest run --config vitest.config.unit.ts --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:44edb4e4-8f74-4066-be34-2f0a2dfc7e53"}},"repository":{"url":"git+https://github.com/maplibre/vt-pbf.git","type":"git"},"_npmVersion":"11.6.2","description":"Serialize mapbox vector tiles to binary protobufs in javascript.","directories":{},"_nodeVersion":"24.12.0","dependencies":{"pbf":"^4.0.1","supercluster":"^8.0.1","@types/geojson":"^7946.0.16","@mapbox/vector-tile":"^2.0.4","@types/supercluster":"^7.1.3","@maplibre/geojson-vt":"^5.0.4","@mapbox/point-geometry":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.8.1","eslint":"^8.57.1","rollup":"^4.44.1","vitest":"^3.2.4","typedoc":"^0.28.16","standard":"^17.1.2","benchmark":"^2.1.4","@eslint/js":"^9.30.0","geojson-vt":"^4.0.2","typescript":"^5.8.3","@types/node":"^24.0.3","geojson-equality":"^0.2.1","typescript-eslint":"^8.35.1","eslint-plugin-node":"^11.1.0","@vitest/coverage-v8":"^3.2.4","vite-tsconfig-paths":"^5.1.4","@mapbox/mvt-fixtures":"^3.10.0","@maplibre/vtvalidate":"^0.4.2","@rollup/plugin-strip":"^3.0.4","eslint-plugin-import":"^2.32.0","eslint-plugin-promise":"^6.0.0","@rollup/plugin-replace":"^6.0.2","eslint-config-standard":"^17.1.0","@types/geojson-equality":"^0.2.2","@mapbox/geojson-fixtures":"^1.0.0","@rollup/plugin-typescript":"^12.1.4","@rollup/plugin-node-resolve":"^16.0.1"},"_npmOperationalInternal":{"tmp":"tmp/vt-pbf_4.2.1_1769089140054_0.26698588650489685","host":"s3://npm-registry-packages-npm-production"}},"4.3.0":{"name":"@maplibre/vt-pbf","version":"4.3.0","author":{"url":"http://anandthakker.net/","name":"Anand Thakker","email":"vestibule@anandthakker.net"},"license":"MIT","_id":"@maplibre/vt-pbf@4.3.0","maintainers":[{"name":"maplibreorg","email":"board@maplibre.org"},{"name":"harelmazor","email":"harel.mazor@gmail.com"},{"name":"birkskyum","email":"birk.skyum@pm.me"},{"name":"mwilsnd","email":"mwilsnd@gmail.com"}],"homepage":"https://github.com/maplibre/vt-pbf#readme","bugs":{"url":"https://github.com/maplibre/vt-pbf/issues"},"dist":{"shasum":"e26649432f0b2863dbe70298b92e0d98fcd63129","tarball":"https://registry.npmjs.org/@maplibre/vt-pbf/-/vt-pbf-4.3.0.tgz","fileCount":12,"integrity":"sha512-jIvp8F5hQCcreqOOpEt42TJMUlsrEcpf/kI1T2v85YrQRV6PPXUcEXUg5karKtH6oh47XJZ4kHu56pUkOuqA7w==","signatures":[{"sig":"MEUCIDx/56tLX528ylcy7ZFaeoJGmTSK/3DWFrXjV///VDFJAiEAmaoW2UtaswfpqokJzMkGRSn5zYDsZeyV3anFMLRtVkY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@maplibre%2fvt-pbf@4.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":32861},"main":"dist/index.es.js","type":"module","types":"dist/index.d.ts","gitHead":"1f1887e2cd16a6043603ae6baf2f328aede3f70c","scripts":{"docs":"typedoc --entryPoints index.ts --out docs/API","lint":"eslint index.ts lib/**/*.ts test/**/*.ts","build":"rollup --config rollup.config.ts --configPlugin typescript && tsc","test-unit":"vitest run --config vitest.config.unit.ts","test-unit-ci":"vitest run --config vitest.config.unit.ts --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:44edb4e4-8f74-4066-be34-2f0a2dfc7e53"}},"repository":{"url":"git+https://github.com/maplibre/vt-pbf.git","type":"git"},"_npmVersion":"11.6.2","description":"Serialize mapbox vector tiles to binary protobufs in javascript.","directories":{},"_nodeVersion":"24.12.0","dependencies":{"pbf":"^4.0.1","supercluster":"^8.0.1","@types/geojson":"^7946.0.16","@mapbox/vector-tile":"^2.0.4","@types/supercluster":"^7.1.3","@maplibre/geojson-vt":"^5.0.4","@mapbox/point-geometry":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.8.1","eslint":"^8.57.1","rollup":"^4.44.1","vitest":"^3.2.4","typedoc":"^0.28.16","standard":"^17.1.2","benchmark":"^2.1.4","@eslint/js":"^9.30.0","geojson-vt":"^4.0.2","typescript":"^5.8.3","@types/node":"^24.0.3","geojson-equality":"^0.2.1","typescript-eslint":"^8.35.1","eslint-plugin-node":"^11.1.0","@vitest/coverage-v8":"^3.2.4","vite-tsconfig-paths":"^5.1.4","@mapbox/mvt-fixtures":"^3.10.0","@maplibre/vtvalidate":"^0.4.2","@rollup/plugin-strip":"^3.0.4","eslint-plugin-import":"^2.32.0","eslint-plugin-promise":"^6.0.0","@rollup/plugin-replace":"^6.0.2","eslint-config-standard":"^17.1.0","@types/geojson-equality":"^0.2.2","@mapbox/geojson-fixtures":"^1.0.0","@rollup/plugin-typescript":"^12.1.4","@rollup/plugin-node-resolve":"^16.0.1"},"_npmOperationalInternal":{"tmp":"tmp/vt-pbf_4.3.0_1771881935456_0.7331959455733184","host":"s3://npm-registry-packages-npm-production"}},"4.3.1":{"name":"@maplibre/vt-pbf","version":"4.3.1","author":{"url":"http://anandthakker.net/","name":"Anand Thakker","email":"vestibule@anandthakker.net"},"license":"MIT","_id":"@maplibre/vt-pbf@4.3.1","maintainers":[{"name":"maplibreorg","email":"board@maplibre.org"},{"name":"wayofthefuture","email":"ryan@scully.biz"},{"name":"harelmazor","email":"harel.mazor@gmail.com"},{"name":"birkskyum","email":"birk.skyum@pm.me"},{"name":"mwilsnd","email":"mwilsnd@gmail.com"}],"homepage":"https://github.com/maplibre/vt-pbf#readme","bugs":{"url":"https://github.com/maplibre/vt-pbf/issues"},"dist":{"shasum":"6a6acc146807955b226aa327a8dcfed33631ae87","tarball":"https://registry.npmjs.org/@maplibre/vt-pbf/-/vt-pbf-4.3.1.tgz","fileCount":13,"integrity":"sha512-a2Bui0JaasBMiejgY2xMmsHHQFICOggd8R0mxUc7LdruNPEuD9vOuiNZ0kSZEsIud/+5zmtyzxg0toK2HBmcqw==","signatures":[{"sig":"MEUCIFSAVho7KJwgqxhEfIcHNR9+mPKQKDOAFrCFj9A5O15yAiEAh5nclmx7DeAUA7lMcxFyirpqDfOaiKzsmMM/KBvOIt4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@maplibre%2fvt-pbf@4.3.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":27868},"main":"dist/index.es.js","type":"module","types":"dist/index.d.ts","gitHead":"4869bd9496ef63e5b33790a7fe7c4b9962c970d9","scripts":{"docs":"typedoc --entryPoints index.ts --out docs/API","lint":"eslint index.ts lib/**/*.ts test/**/*.ts","build":"rolldown -c rolldown.config.ts && tsc","test-unit":"vitest run --config vitest.config.unit.ts","test-unit-ci":"vitest run --config vitest.config.unit.ts --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:44edb4e4-8f74-4066-be34-2f0a2dfc7e53"}},"repository":{"url":"git+https://github.com/maplibre/vt-pbf.git","type":"git"},"_npmVersion":"11.6.2","description":"Serialize mapbox vector tiles to binary protobufs in javascript.","directories":{},"_nodeVersion":"24.12.0","dependencies":{"pbf":"^5.1.0","@types/geojson":"^7946.0.16","@mapbox/point-geometry":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.8.1","eslint":"^10.4.1","vitest":"^4.1.8","typedoc":"^0.28.19","rolldown":"^1.1.0","benchmark":"^2.1.4","@eslint/js":"^10.0.1","typescript":"^6.0.3","@types/node":"^25.9.1","geojson-equality":"^0.2.1","typescript-eslint":"^8.60.1","@mapbox/vector-tile":"^3.0.0","@vitest/coverage-v8":"^4.1.8","vite-tsconfig-paths":"^6.1.1","@mapbox/mvt-fixtures":"^4.0.0","@maplibre/geojson-vt":"^6.1.0","@maplibre/vtvalidate":"^0.4.2","@types/geojson-equality":"^0.2.2","@mapbox/geojson-fixtures":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/vt-pbf_4.3.1_1780570723784_0.38925758571780933","host":"s3://npm-registry-packages-npm-production"}},"4.3.2":{"name":"@maplibre/vt-pbf","version":"4.3.2","author":{"url":"http://anandthakker.net/","name":"Anand Thakker","email":"vestibule@anandthakker.net"},"license":"MIT","_id":"@maplibre/vt-pbf@4.3.2","maintainers":[{"name":"maplibreorg","email":"board@maplibre.org"},{"name":"wayofthefuture","email":"ryan@scully.biz"},{"name":"harelmazor","email":"harel.mazor@gmail.com"},{"name":"birkskyum","email":"birk.skyum@pm.me"},{"name":"mwilsnd","email":"mwilsnd@gmail.com"}],"homepage":"https://github.com/maplibre/vt-pbf#readme","bugs":{"url":"https://github.com/maplibre/vt-pbf/issues"},"dist":{"shasum":"cfcdbdadaf88b4cb8645e43c8eead77cd6546030","tarball":"https://registry.npmjs.org/@maplibre/vt-pbf/-/vt-pbf-4.3.2.tgz","fileCount":13,"integrity":"sha512-j6p0AdjvAR19Z3XaCysle7A4ZSo08tYOzxD0Y9NQylwPAkwJJeYub5b2eVucdeDh7erhv69DahoLOevDRERRUw==","signatures":[{"sig":"MEYCIQC4RPLh+WEUTJYpkfURnZqZTCp81+rbz86iGlCfUWjmOQIhAN66pu45LVjN2t1sOK9erIjaSeBpFdQji67K++Jzsj+P","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@maplibre%2fvt-pbf@4.3.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":27760},"main":"dist/index.es.js","type":"module","types":"dist/index.d.ts","gitHead":"d530f7bb256fd014fcda512340518145b79e976f","scripts":{"docs":"typedoc --entryPoints index.ts --out docs/API","lint":"eslint index.ts lib/**/*.ts test/**/*.ts","build":"rolldown -c rolldown.config.ts && tsc","test-unit":"vitest run --config vitest.config.unit.ts","test-unit-ci":"vitest run --config vitest.config.unit.ts --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:44edb4e4-8f74-4066-be34-2f0a2dfc7e53"}},"repository":{"url":"git+https://github.com/maplibre/vt-pbf.git","type":"git"},"_npmVersion":"11.6.2","description":"Serialize mapbox vector tiles to binary protobufs in javascript.","directories":{},"_nodeVersion":"24.12.0","dependencies":{"pbf":"^5.1.0","@types/geojson":"^7946.0.16","@mapbox/point-geometry":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.8.1","eslint":"^10.4.1","vitest":"^4.1.8","typedoc":"^0.28.19","rolldown":"^1.1.0","benchmark":"^2.1.4","@eslint/js":"^10.0.1","typescript":"^6.0.3","@types/node":"^25.9.1","geojson-equality":"^0.2.1","typescript-eslint":"^8.60.1","@mapbox/vector-tile":"^3.0.0","@vitest/coverage-v8":"^4.1.8","vite-tsconfig-paths":"^6.1.1","@mapbox/mvt-fixtures":"^4.0.0","@maplibre/geojson-vt":"^6.1.0","@maplibre/vtvalidate":"^0.4.2","@types/geojson-equality":"^0.2.2","@mapbox/geojson-fixtures":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/vt-pbf_4.3.2_1780575163995_0.5053811931235022","host":"s3://npm-registry-packages-npm-production"}},"4.3.3":{"_id":"@maplibre/vt-pbf@4.3.3","bugs":{"url":"https://github.com/maplibre/vt-pbf/issues"},"dist":{"shasum":"141f7cef627284eb1c953d872dfeac7a27f3484e","tarball":"https://registry.npmjs.org/@maplibre/vt-pbf/-/vt-pbf-4.3.3.tgz","fileCount":13,"integrity":"sha512-dEe5XUd64RQbxNxy2OzIkJnwNDWjVmSXjCd0A7zLirm7QJ/WWbmtDFIkfsiM4yt1cplqzG6oSivRYeWx1SM1yg==","signatures":[{"sig":"MEUCIQCKWDZVQangJPeQE9sv/bEDgKjjyzL0BguDC4bBaOsowAIgRdgAmeerX9HYOZTAI+gc9wXlajtotCZX7fEIArC0i34=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIF7TE9W2YcHk81VNycBYSrjr5fejJ9G1qsaUqsO3vo1/AiB+agUfLmK6uuMIQlfT7TqIG0U7dt/B91OK1r7TPfWveg=="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@maplibre%2fvt-pbf@4.3.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":28105},"main":"dist/index.es.js","name":"@maplibre/vt-pbf","type":"module","types":"dist/index.d.ts","author":{"url":"http://anandthakker.net/","name":"Anand Thakker","email":"vestibule@anandthakker.net"},"gitHead":"a44e3d37f49286f6b23e939a20345596390780f0","license":"MIT","scripts":{"docs":"typedoc --entryPoints index.ts --out docs/API","lint":"eslint index.ts lib/**/*.ts test/**/*.ts","build":"rolldown -c rolldown.config.ts && tsc","test-unit":"vitest run --config vitest.config.unit.ts","test-unit-ci":"vitest run --config vitest.config.unit.ts --coverage"},"version":"4.3.3","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"44edb4e4-8f74-4066-be34-2f0a2dfc7e53"}},"homepage":"https://github.com/maplibre/vt-pbf#readme","repository":{"url":"git+https://github.com/maplibre/vt-pbf.git","type":"git"},"_npmVersion":"11.6.2","description":"Serialize mapbox vector tiles to binary protobufs in javascript.","directories":{},"maintainers":[{"name":"maplibreorg","email":"board@maplibre.org"},{"name":"wayofthefuture","email":"ryan@scully.biz"},{"name":"harelmazor","email":"harel.mazor@gmail.com"},{"name":"birkskyum","email":"birk.skyum@pm.me"}],"_nodeVersion":"24.12.0","dependencies":{"pbf":"^5.1.2","@types/geojson":"^7946.0.16","@mapbox/point-geometry":"^1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.8.1","eslint":"^10.13.0","vitest":"^5.0.5","typedoc":"^0.28.20","rolldown":"^1.2.15","benchmark":"^2.1.4","@eslint/js":"^10.0.1","typescript":"^6.0.3","@types/node":"^26.6.5","geojson-equality":"^0.2.1","typescript-eslint":"^8.72.0","@mapbox/vector-tile":"^3.0.0","@vitest/coverage-v8":"^5.0.5","@mapbox/mvt-fixtures":"^4.0.0","@maplibre/geojson-vt":"^6.3.0","@maplibre/vtvalidate":"^0.4.2","@types/geojson-equality":"^0.2.2","@mapbox/geojson-fixtures":"^2.0.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/vt-pbf_4.3.3_1792922591131_0.9304152674914303"}}},"time":{"created":"2025-07-14T20:59:53.640Z","modified":"2026-10-25T10:03:11.875Z","4.0.2":"2025-07-14T20:59:53.948Z","4.0.3":"2025-07-15T19:28:34.516Z","4.1.0":"2025-11-27T06:27:43.564Z","4.2.0":"2025-12-15T04:20:57.216Z","4.2.1":"2026-01-22T13:39:00.226Z","4.3.0":"2026-02-23T21:25:35.600Z","4.3.1":"2026-06-04T10:58:43.933Z","4.3.2":"2026-06-04T12:12:44.139Z","4.3.3":"2026-10-25T10:03:11.268Z"},"bugs":{"url":"https://github.com/maplibre/vt-pbf/issues"},"author":{"url":"http://anandthakker.net/","name":"Anand Thakker","email":"vestibule@anandthakker.net"},"license":"MIT","homepage":"https://github.com/maplibre/vt-pbf#readme","repository":{"url":"git+https://github.com/maplibre/vt-pbf.git","type":"git"},"description":"Serialize mapbox vector tiles to binary protobufs in javascript.","maintainers":[{"name":"maplibreorg","email":"board@maplibre.org"},{"name":"wayofthefuture","email":"ryan@scully.biz"},{"name":"harelmazor","email":"harel.mazor@gmail.com"},{"name":"birkskyum","email":"birk.skyum@pm.me"}],"readme":"[![MapLibre Logo](https://maplibre.org/img/maplibre-logo-big.svg)](https://maplibre.org/)\n\n# vt-pbf \n[![NPM Version](https://img.shields.io/npm/v/@maplibre/vt-pbf.svg)](https://www.npmjs.com/package/@maplibre/vt-pbf)\n\nSerialize [Mapbox vector tiles](https://github.com/mapbox/vector-tile-spec) to binary protobufs in javascript.\n\n## Installation\nUsing NPM: `npm install @maplibre/vt-pbf`\n\nOr `npm run build` and find build artifacts in `dist/`\n\n## Usage\n\nAs far as I know, the two places you might get a JS representation of a vector\ntile are [geojson-vt](https://github.com/mapbox/geojson-vt) and\n[vector-tile-js](https://github.com/mapbox/vector-tile-js).  These both use\nslightly different internal representations, so serializing each looks slightly\ndifferent:\n\n## From vector-tile-js\n\n```javascript\nimport {fromVectorTileJs} from 'vt-pbf'\nimport {VectorTile} = from '@mapbox/vector-tile'\nimport Protobuf from 'pbf'\n\nvar data = fs.readFileSync(__dirname + '/fixtures/rectangle-1.0.0.pbf')\nvar tile = new VectorTile(new Protobuf(data))\nvar orig = tile.layers['geojsonLayer'].feature(0).toGeoJSON(0, 0, 1)\n\nvar buff = fromVectorTileJs(tile)\nfs.writeFileSync('my-tile.pbf', buff)\n```\n\n## From geojson-vt\n\n```javascript\nimport {fromGeojsonVt} from 'vt-pbf'\nimport geojsonVt from '@maplibre/geojson-vt'\n\nvar orig = JSON.parse(fs.readFileSync(__dirname + '/fixtures/rectangle.geojson'))\nvar tileindex = geojsonVt(orig)\nvar tile = tileindex.getTile(1, 0, 0)\n\n// pass in an object mapping layername -> tile object\nvar buff = fromGeojsonVt({ 'geojsonLayer': tile })\nfs.writeFileSync('my-tile.pbf', buff)\n```\n\n`fromGeojsonVt` takes two arguments:\n- `layerMap` is an object where keys are layer names and values are a geojson-vt tile,\n- `options` is an object (optional argument). There are 2 supported keys: `version` to define the version of the mvt spec used and `extent` to define the extent of the tile. `version` defaults to 1 and `extent` to 4096.\n\n","readmeFilename":"README.md"}