{"_id":"@agrodt/maplibre-gzip-protocol","_rev":"6-cee3b28560c076436ef710a187f6c447","name":"@agrodt/maplibre-gzip-protocol","dist-tags":{"latest":"0.1.3"},"versions":{"0.1.1":{"name":"@agrodt/maplibre-gzip-protocol","version":"0.1.1","keywords":[],"author":{"name":"Petr Tsymbarovich","email":"petr@tsymbarovich.ru"},"license":"MIT","_id":"@agrodt/maplibre-gzip-protocol@0.1.1","maintainers":[{"name":"mentaljam","email":"petr@tsymbarovich.ru"}],"homepage":"https://github.com/AgroDT/maplibre-gzip-protocol","bugs":{"url":"https://github.com/AgroDT/maplibre-gzip-protocol/issues"},"dist":{"shasum":"a5e1436198760535e22427370a27a27920084260","tarball":"https://registry.npmjs.org/@agrodt/maplibre-gzip-protocol/-/maplibre-gzip-protocol-0.1.1.tgz","fileCount":5,"integrity":"sha512-ZbVNSNxVJaJzcylaUvWEaFGy+zFydj7+P/KHoxXBgno5CPWguKGsVVPdlN1npWSiiDb9J7VQ8j+Nu8IjMoCl7w==","signatures":[{"sig":"MEUCIQCVT772Y+rc6PU2CFCiYhFY6X5VNnzUUxJTf0L+OxXz2gIgUJ/1HF/+Dr3FQnvr63ENyYtYsooRd3PDCurtqMNDXiU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4890},"type":"module","_from":"file:agrodt-maplibre-gzip-protocol-0.1.1.tgz","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"build":"tsc"},"_npmUser":{"name":"mentaljam","email":"petr@tsymbarovich.ru"},"_resolved":"C:\\Users\\MENTAL~1\\AppData\\Local\\Temp\\fab4e3b1b6eb7fe84ecb7c358daa3b03\\agrodt-maplibre-gzip-protocol-0.1.1.tgz","_integrity":"sha512-ZbVNSNxVJaJzcylaUvWEaFGy+zFydj7+P/KHoxXBgno5CPWguKGsVVPdlN1npWSiiDb9J7VQ8j+Nu8IjMoCl7w==","_npmVersion":"10.9.2","description":"A MapLibre plugin to allow loading of statically gzipped sources","directories":{},"_nodeVersion":"22.13.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.3","maplibre-gl":"^5.1.0"},"peerDependencies":{"maplibre-gl":"^5.1.0"},"_npmOperationalInternal":{"tmp":"tmp/maplibre-gzip-protocol_0.1.1_1739971287782_0.2817176427178054","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@agrodt/maplibre-gzip-protocol","version":"0.1.2","keywords":[],"author":{"name":"Petr Tsymbarovich","email":"petr@tsymbarovich.ru"},"license":"MIT","_id":"@agrodt/maplibre-gzip-protocol@0.1.2","maintainers":[{"name":"mentaljam","email":"petr@tsymbarovich.ru"}],"homepage":"https://github.com/AgroDT/maplibre-gzip-protocol","bugs":{"url":"https://github.com/AgroDT/maplibre-gzip-protocol/issues"},"dist":{"shasum":"b8451068d7bc4f63f19bc2aa168f9d37ac404270","tarball":"https://registry.npmjs.org/@agrodt/maplibre-gzip-protocol/-/maplibre-gzip-protocol-0.1.2.tgz","fileCount":5,"integrity":"sha512-psRWbyZAgeYsBLJSfCY7ADOiMtAjTwBcHqNF0LcYaV2tYyIon+jJrOV4rXjMRg0f6GBO1b9K+nSreOE1s5WQJQ==","signatures":[{"sig":"MEQCIF+iE88y+OQ/z2xbu+Nyg9679eYNwIAqgl4Qitpd1oE9AiAjlIcn9ffwuPHTEiqJSidW7G4FxmLiyB1hVyfuKqw55g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":4873},"type":"module","_from":"file:agrodt-maplibre-gzip-protocol-0.1.2.tgz","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"build":"tsc"},"_npmUser":{"name":"mentaljam","email":"petr@tsymbarovich.ru"},"_resolved":"C:\\Users\\MENTAL~1\\AppData\\Local\\Temp\\3db1f5046e1fb3318e4cef4b11e5ae1e\\agrodt-maplibre-gzip-protocol-0.1.2.tgz","_integrity":"sha512-psRWbyZAgeYsBLJSfCY7ADOiMtAjTwBcHqNF0LcYaV2tYyIon+jJrOV4rXjMRg0f6GBO1b9K+nSreOE1s5WQJQ==","_npmVersion":"10.9.2","description":"A MapLibre plugin to allow loading of statically gzipped sources","directories":{},"_nodeVersion":"22.13.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.7.3","maplibre-gl":"^5.1.0"},"peerDependencies":{"maplibre-gl":"^5.1.0"},"_npmOperationalInternal":{"tmp":"tmp/maplibre-gzip-protocol_0.1.2_1739971767482_0.9518703832653839","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@agrodt/maplibre-gzip-protocol","version":"0.1.3","description":"A MapLibre plugin to allow loading of statically gzipped sources","keywords":[],"author":{"name":"Petr Tsymbarovich","email":"petr@tsymbarovich.ru"},"bugs":{"url":"https://github.com/AgroDT/maplibre-gzip-protocol/issues"},"repository":{"type":"git","url":"git+https://github.com/AgroDT/maplibre-gzip-protocol.git"},"license":"MIT","type":"module","exports":{".":{"import":"./dist/index.js","types":"./dist/index.d.ts"}},"peerDependencies":{"maplibre-gl":"^5.1.0"},"devDependencies":{"maplibre-gl":"^5.1.0","typescript":"^5.7.3"},"scripts":{"build":"tsc"},"_id":"@agrodt/maplibre-gzip-protocol@0.1.3","homepage":"https://github.com/AgroDT/maplibre-gzip-protocol#readme","_integrity":"sha512-0Qdms4EscpjiTSkj5ClAsaCUVnf2wXDR4DYN1gWf1FS8H087hTutFkfaRGG3Mpdgn+z0Zgnwg/vdzD73J56Zng==","_resolved":"/tmp/3954f0fc1469129a17db9f2d9a277ddc/agrodt-maplibre-gzip-protocol-0.1.3.tgz","_from":"file:agrodt-maplibre-gzip-protocol-0.1.3.tgz","_nodeVersion":"20.19.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-0Qdms4EscpjiTSkj5ClAsaCUVnf2wXDR4DYN1gWf1FS8H087hTutFkfaRGG3Mpdgn+z0Zgnwg/vdzD73J56Zng==","shasum":"15b39491354afa375938d9c5832ba3b36c46bd74","tarball":"https://registry.npmjs.org/@agrodt/maplibre-gzip-protocol/-/maplibre-gzip-protocol-0.1.3.tgz","fileCount":5,"unpackedSize":4915,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agrodt%2fmaplibre-gzip-protocol@0.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCICoO70A5+tBfHsL68LklGj174P/9N3JsDT0rcFoqebYEAiEA6fJ1orp+5N1ROEm+dIMFPZivPnku2jVWOHslIAzFKTA="}]},"_npmUser":{"name":"mentaljam","email":"petr@tsymbarovich.ru"},"directories":{},"maintainers":[{"name":"mentaljam","email":"petr@tsymbarovich.ru"},{"name":"ponomar","email":"ponomarenkoboris146@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/maplibre-gzip-protocol_0.1.3_1745849354005_0.7868128135712014"},"_hasShrinkwrap":false}},"time":{"created":"2025-02-19T13:21:27.691Z","modified":"2025-04-28T14:09:14.624Z","0.1.0":"2025-02-19T12:12:38.888Z","0.1.1":"2025-02-19T13:21:27.969Z","0.1.2":"2025-02-19T13:29:27.691Z","0.1.3":"2025-04-28T14:09:14.190Z"},"bugs":{"url":"https://github.com/AgroDT/maplibre-gzip-protocol/issues"},"author":{"name":"Petr Tsymbarovich","email":"petr@tsymbarovich.ru"},"license":"MIT","homepage":"https://github.com/AgroDT/maplibre-gzip-protocol#readme","keywords":[],"description":"A MapLibre plugin to allow loading of statically gzipped sources","maintainers":[{"name":"mentaljam","email":"petr@tsymbarovich.ru"},{"name":"ponomar","email":"ponomarenkoboris146@gmail.com"}],"readme":"# maplibre-gzip-protocol\r\n\r\nA MapLibre plugin to allow loading of statically gzipped sources.\r\nSee a full [example](./example).\r\n\r\n```html\r\n<!doctype html>\r\n<html lang=\"en\">\r\n  <head>\r\n    <meta charset=\"UTF-8\" />\r\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\r\n    <title>MapLibre geojson.gz Example</title>\r\n    <link rel=\"stylesheet\" href=\"https://unpkg.com/maplibre-gl/dist/maplibre-gl.css\" />\r\n    <style>\r\n      body { margin: 0; padding: 0; }\r\n      html, body, #map { height: 100%; }\r\n    </style>\r\n  </head>\r\n  <body>\r\n    <div id=\"map\"></div>\r\n    <script type=\"importmap\">\r\n      {\r\n        \"imports\": {\r\n          \"@agrodt/maplibre-gzip-protocol\": \"https://unpkg.com/@agrodt/maplibre-gzip-protocol/dist/index.js\"\r\n        }\r\n      }\r\n    </script>\r\n    <script src='https://unpkg.com/maplibre-gl'></script>\r\n    <script type=\"module\">\r\n      import {gzipProtocol} from '@agrodt/maplibre-gzip-protocol';\r\n\r\n      maplibregl.addProtocol('gzip', gzipProtocol);\r\n\r\n      new maplibregl.Map({\r\n        container: 'map',\r\n        center: [40.31165385, 56.46397425],\r\n        zoom: 11,\r\n        style: {\r\n          version: 8,\r\n          sources: {\r\n            fields: {\r\n              type: 'geojson',\r\n              data: 'gzip://https://agrodt.github.io/maplibre-gzip-protocol/fields.geojson.gz'\r\n            },\r\n          },\r\n          layers: [{\r\n            id: 'fields',\r\n            type: 'fill',\r\n            source: 'fields',\r\n            paint: {\r\n              'fill-color': 'green',\r\n              'fill-opacity': 0.8\r\n            }\r\n          }],\r\n        },\r\n      });\r\n    </script>\r\n  </body>\r\n</html>\r\n```\r\n","readmeFilename":"README.md","repository":{"type":"git","url":"git+https://github.com/AgroDT/maplibre-gzip-protocol.git"}}