{"versions":{"3.1.0":{"name":"@types/vt-pbf","version":"3.1.0","license":"MIT","_id":"@types/vt-pbf@3.1.0","maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"contributors":[{"url":"https://github.com/skwash","name":"Josh Hansen","githubUsername":"skwash"}],"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/vt-pbf","dist":{"shasum":"a168713fd8c2600562c39d2b3b69f0e67337e51b","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/vt-pbf/-/vt-pbf-3.1.0.tgz","fileCount":5,"integrity":"sha512-9I6dyk1rro7kNIJMDq8gog4dCWdTCl4nEmXlds79RLhmWlWu7/vcO72WYJ809FCy3CZ5ramkX0NsP+jr9ybf2A==","signatures":[{"sig":"MEQCIBAdwaYl382tt+uR1WdfGzSGerSYjCw7fYIo+/yWTl8lAiB9a7afmtwx8OtBbaFbUFVQ81OoCH5aZfqDXqhdKZ6Y0A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4879,"size":1970},"main":"","types":"index.d.ts","scripts":{},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"repository":{"url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","type":"git","directory":"types/vt-pbf"},"description":"TypeScript definitions for vt-pbf","directories":{},"dependencies":{"@types/geojson":"*","@types/geojson-vt":"*"},"_hasShrinkwrap":false,"peerDependencies":{},"typeScriptVersion":"5.0","_npmOperationalInternal":{"tmp":"tmp/vt-pbf_3.1.0_1734574103097_0.5387765505018776","host":"s3://npm-registry-packages-npm-production"},"typesPublisherContentHash":"52a7cdc35077ce2f9ab39fb836fcbf8b45596efea8195aba45015f68238d18ad","_cnpmcore_publish_time":"2024-12-19T02:08:23.236Z","publish_time":1734574103236,"_source_registry_name":"default"},"3.1.1":{"name":"@types/vt-pbf","version":"3.1.1","license":"MIT","_id":"@types/vt-pbf@3.1.1","maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"contributors":[{"url":"https://github.com/skwash","name":"Josh Hansen","githubUsername":"skwash"}],"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/vt-pbf","dist":{"shasum":"d3d8df574e7e4b87008217da91ce203ea2c7baaa","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/vt-pbf/-/vt-pbf-3.1.1.tgz","fileCount":5,"integrity":"sha512-JcTqsvtX5z+P5zITZTx6nALaW86oVwFpATfHakiWIjvH8AWEuhJpa/8xKHAHd37I5A3ZK3TbeA/yJ3rJYHjwzg==","signatures":[{"sig":"MEUCIQC6OVTxyZxwVJ8+o660OBHlsvwau6vLjubUxZpH/9mv+AIgH2rIr54+8F5AI60WhznopXrNnNDQNaStC7juuv4qk3U=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4881,"size":1984},"main":"","types":"index.d.ts","scripts":{},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"repository":{"url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","type":"git","directory":"types/vt-pbf"},"description":"TypeScript definitions for vt-pbf","directories":{},"dependencies":{"@types/geojson":"*","@types/geojson-vt":"*"},"_hasShrinkwrap":false,"peerDependencies":{},"typeScriptVersion":"5.2","_npmOperationalInternal":{"tmp":"tmp/vt-pbf_3.1.1_1761280445158_0.08786093520548355","host":"s3://npm-registry-packages-npm-production"},"typesPublisherContentHash":"9227cf7792314392ed308770804876e6a7b4e5fa7e9341c3e159bd23e1857ce4","_cnpmcore_publish_time":"2025-10-24T04:34:05.337Z","publish_time":1761280445337,"_source_registry_name":"default"}},"dist-tags":{"latest":"3.1.1","ts5.0":"3.1.0","ts5.1":"3.1.0","ts5.2":"3.1.1","ts5.3":"3.1.1","ts5.4":"3.1.1","ts5.5":"3.1.1","ts5.6":"3.1.1","ts5.7":"3.1.1","ts5.8":"3.1.1","ts5.9":"3.1.1","ts6.0":"3.1.1"},"name":"@types/vt-pbf","time":{"created":"2024-12-19T02:09:14.073Z","modified":"2025-10-24T04:34:15.446Z","3.1.0":"2024-12-19T02:08:23.236Z","3.1.1":"2025-10-24T04:34:05.337Z"},"readme":"# Installation\r\n> `npm install --save @types/vt-pbf`\r\n\r\n# Summary\r\nThis package contains type definitions for vt-pbf (https://github.com/mapbox/vt-pbf).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/vt-pbf.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/vt-pbf/index.d.ts)\r\n````ts\r\nimport * as GJ from \"geojson\";\nimport geojsonvt = require(\"geojson-vt\");\n\ntype RawGeometry = number | RawGeometry[];\n\ninterface Layers {\n    [layerName: string]: ReturnType<typeof geojsonvt>;\n}\n\ninterface LayerOptions {\n    version?: number;\n    extent?: number; // 0 - 4096\n}\n\ninterface FeatureWrapper {\n    id: number | undefined;\n    type: number;\n    rawGeometry: RawGeometry[];\n    properties: GJ.GeoJsonProperties;\n    extent: number;\n    geometry: GJ.Point[][] | undefined;\n\n    loadGeometry(): GJ.Point[][];\n    bbox(): [number, number, number, number];\n    toGeoJSON(): GJ.GeoJSON;\n}\n\ndeclare function fromVectorTileJs(tile: ReturnType<typeof geojsonvt>): Uint8Array;\ndeclare function fromGeojsonVt(layers: Layers, options?: LayerOptions): Uint8Array;\ndeclare class GeoJSONWrapper {\n    options: LayerOptions;\n    features: object[]; // geojsonvt.Features;\n    length: number;\n\n    constructor(features: object[], options?: LayerOptions); // features = geojsonvt.Features\n    feature(i: number): FeatureWrapper;\n}\n\nexport { fromGeojsonVt, fromVectorTileJs, GeoJSONWrapper };\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Fri, 24 Oct 2025 04:02:41 GMT\r\n * Dependencies: [@types/geojson](https://npmjs.com/package/@types/geojson), [@types/geojson-vt](https://npmjs.com/package/@types/geojson-vt)\r\n\r\n# Credits\r\nThese definitions were written by [Josh Hansen](https://github.com/skwash).","users":{}}