{"_id":"@akhuoa/flatmap-viewer","name":"@akhuoa/flatmap-viewer","dist-tags":{"beta":"4.4.4-beta.1","latest":"4.4.4-beta.1"},"versions":{"4.4.4-beta.1":{"name":"@akhuoa/flatmap-viewer","version":"4.4.4-beta.1","description":"Flatmap viewer using Maplibre GL","repository":{"type":"git","url":"git+https://github.com/akhuoa/flatmap-viewer.git"},"type":"module","module":"./dist/index.js","exports":{".":{"import":"./dist/index.js"}},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"vite serve app --port 3000","prepare":"tsc --p ./tsconfig-build.json && vite build","preview":"vite preview","build":"vite build app --base /viewer/","build-docs":"npx typedoc","docs":"npx typedoc --watch","preview-docs":"live-server docs","lint":"eslint ./src/","typecheck":"tsc --noEmit -p tsconfig-build.json --composite false","tsdoc":"typedoc"},"author":{"name":"David Brooks"},"license":"MIT","dependencies":{"@deck.gl/core":"^9.0.17","@deck.gl/geo-layers":"^9.0.18","@deck.gl/layers":"^9.0.17","@deck.gl/mapbox":"^9.0.17","@luma.gl/engine":"^9.1.0","@mapbox/mapbox-gl-draw":"=1.4.3","@turf/along":"^7.1.0","@turf/area":"^6.5.0","@turf/bbox":"^6.5.0","@turf/clean-coords":"^7.2.0","@turf/helpers":"^6.5.0","@turf/length":"^7.0.0","@turf/nearest-point-on-line":"^7.0.0","@turf/projection":"^6.5.0","bezier-js":"^6.1.0","colord":"^2.9.3","core-js":"^3.37.0","graphology":"^0.25.4","graphology-operators":"^1.6.0","graphology-shortest-path":"^2.1.0","html-es6cape":"^2.0.2","maplibre-gl":"^5.5.0","mathjax-full":"^3.2.2","minisearch":"^2.2.1","polylabel":"^2.0.1","uuid":"^11.1.0"},"devDependencies":{"@compodoc/live-server":"^1.2.3","@eslint/js":"^9.19.0","@math.gl/core":"^4.1.0","@types/core-js":"^2.5.8","@types/node":"^20.12.7","@types/polylabel":"^1.1.3","eslint":"^9.19.0","glob":"^10.3.12","globals":"^15.14.0","typedoc":"^0.28.0","typedoc-github-theme":"^0.3.0","typedoc-plugin-inline-sources":"^1.3.0","typedoc-plugin-missing-exports":"^4.0.0","typescript":"^5.2.2","typescript-eslint":"^8.22.0","vite":"^5.1.4","vite-plugin-dts":"^4.5.0","vite-plugin-lib-inject-css":"^2.0.1"},"packageManager":"pnpm@10.15.1+sha256.8c53af02ae3ec1fb0ae75377f8d4d6217c2d7cbe6f03c16350cabf7493de6eff","gitHead":"823a38255c2068d0427c7861bcc346f1dbbff977","_id":"@akhuoa/flatmap-viewer@4.4.4-beta.1","bugs":{"url":"https://github.com/akhuoa/flatmap-viewer/issues"},"homepage":"https://github.com/akhuoa/flatmap-viewer#readme","_nodeVersion":"24.11.0","_npmVersion":"11.6.1","dist":{"integrity":"sha512-uMx6MAw+0K3rbVCO5ZRFReLcWVIhsSq421RvNOIlDSJ31AOYqhdJulwt+Ls/6kWPXfKj/Mm1uwBuUPqilqMfKw==","shasum":"dae81eff294fa6828efd18c9dd1f003d65e6fe42","tarball":"https://registry.npmjs.org/@akhuoa/flatmap-viewer/-/flatmap-viewer-4.4.4-beta.1.tgz","fileCount":6,"unpackedSize":5016225,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCqAeXk/x+ynHJGhXUhEAoXQq4oFTbfFTRQuQtWzzHM/AIhAMGtnuqZlclqb7s8gEgjgegz/pDEVRlPLqMjpUwv3wso"}]},"_npmUser":{"name":"akhuoa","email":"aung.kyaw.hein@auckland.ac.nz"},"directories":{},"maintainers":[{"name":"akhuoa","email":"aung.kyaw.hein@auckland.ac.nz"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/flatmap-viewer_4.4.4-beta.1_1784779921637_0.2191733176704902"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-23T04:12:01.462Z","4.4.4-beta.1":"2026-07-23T04:12:01.908Z","modified":"2026-07-23T04:12:02.103Z"},"maintainers":[{"name":"akhuoa","email":"aung.kyaw.hein@auckland.ac.nz"}],"description":"Flatmap viewer using Maplibre GL","homepage":"https://github.com/akhuoa/flatmap-viewer#readme","repository":{"type":"git","url":"git+https://github.com/akhuoa/flatmap-viewer.git"},"author":{"name":"David Brooks"},"bugs":{"url":"https://github.com/akhuoa/flatmap-viewer/issues"},"license":"MIT","readme":"# Flatmap Viewer\n\nA web-browser viewer for anatomical flatmaps generated by [flatmap-maker](https://github.com/AnatomicMaps/flatmap-maker). The viewer is intended to be used as a component in a web application, although it can be used standalone for local flatmap development and testing. Flatmap content is obtained from a [flatmap-server](https://github.com/AnatomicMaps/flatmap-server).\n\n## Package Installation\n\n*   `pnpm install @abi-software/flatmap-viewer@4.4.3`\n\n---\n\n## Standalone Use\n\n### Requirements\n\n*   [nodejs](https://nodejs.org/) JavaScript runtime environment.\n*   [pnpm](https://pnpm.io) Node package manager.\n\n### Installation\n\n1.  Clone this repository.\n2.  Run `pnpm install` in the checked out working directory.\n\n\n### Configuration\n\nMap server endpoints are defined by `MAP_ENDPOINTS` in `app/index.ts`. The first endpoint listed is used as the default, this being the default endpoint for a local flatmap server.\n\n### Running\n\n```sh\n$ pnpm start\n```\n\nMaps can then be viewed at http://localhost:3000.\n\n---\n\n## Example usage\n\nSee [here](https://anatomicmaps.github.io/flatmap-viewer/documents/HowTo_Guide.html)\n","readmeFilename":"README.md","_rev":"1-f3bd9f7fb2e5e77c974130e92c1f71eb"}