{"_id":"@d10f/a-star-viz","_rev":"8-ba0a602d948da1100f31641848ee36e2","name":"@d10f/a-star-viz","dist-tags":{"latest":"1.1.6"},"versions":{"1.0.0":{"name":"@d10f/a-star-viz","version":"1.0.0","keywords":[],"author":{"name":"d10f"},"license":"ISC","_id":"@d10f/a-star-viz@1.0.0","maintainers":[{"name":"d10f","email":"drm_thumbnailscreampies@simplelogin.fr"}],"homepage":"https://github.com/D10f/a-star-viz#readme","bugs":{"url":"https://github.com/D10f/a-star-viz/issues"},"dist":{"shasum":"fc5a03b93fdeaf5a3d0a56aa8ae05f5dbb61f1a9","tarball":"https://registry.npmjs.org/@d10f/a-star-viz/-/a-star-viz-1.0.0.tgz","fileCount":64,"integrity":"sha512-WWjjv29OiZcIFsHDmmmfCiP9sA6wwqUBVbCoQPbaKuSLVwIAJcs88/el17INgjRSXsmhE5f5Par8/v0YmN5NGQ==","signatures":[{"sig":"MEUCIQCGRbB+nJbeC+LTh6/Kz9ExmcFKJXfdMbPGzOtxtBFJqwIgXfhBK/MipH2CX+bx7rQAv5eu1GeOEb2H7pmPYkIJFG8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":166307},"main":"dist/src/web-components/tile-picker.js","gitHead":"3428e87b2e40afee64e80d0aa953a942b81cdb55","scripts":{"build":"rimraf dist && swc src -d dist","start":"tsnd --respawn --transpile-only src/index.ts"},"_npmUser":{"name":"d10f","email":"drm_thumbnailscreampies@simplelogin.fr"},"repository":{"url":"git+https://github.com/D10f/a-star-viz.git","type":"git"},"_npmVersion":"10.7.0","directories":{},"_nodeVersion":"18.20.4","_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0","rimraf":"^6.0.1","@swc/cli":"^0.4.0","prettier":"^3.3.2","@swc/core":"^1.6.13","typescript":"^5.5.3","ts-node-dev":"^2.0.0","@typescript-eslint/parser":"^7.16.0","@typescript-eslint/eslint-plugin":"^7.16.0"},"_npmOperationalInternal":{"tmp":"tmp/a-star-viz_1.0.0_1720700493248_0.7389886155440715","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@d10f/a-star-viz","version":"1.0.1","keywords":[],"author":{"name":"d10f"},"license":"ISC","_id":"@d10f/a-star-viz@1.0.1","maintainers":[{"name":"d10f","email":"drm_thumbnailscreampies@simplelogin.fr"}],"homepage":"https://github.com/D10f/a-star-viz#readme","bugs":{"url":"https://github.com/D10f/a-star-viz/issues"},"dist":{"shasum":"c81b6dcaec80b30bb35c9d9f38a9e1a1baf93cb0","tarball":"https://registry.npmjs.org/@d10f/a-star-viz/-/a-star-viz-1.0.1.tgz","fileCount":64,"integrity":"sha512-r3GQGa18vCiNQo8xyJ7GTBGvtwSxo5t1lI5WfpFtjSJXgAPu1BnsXIwGSa4WxYwXfOy+OYe1hr9gMIBjlRd9/A==","signatures":[{"sig":"MEUCIQDFEBDmakydxj72DWU4FNbf8WtBE4FbzspSoUcEiT31LgIgHmvimjPkhYnHALIRLbURTnpB7bC7ZYo5IMGQf4iphpk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":166271},"main":"dist/src/web-components/tile-picker.js","gitHead":"3428e87b2e40afee64e80d0aa953a942b81cdb55","scripts":{"build":"rimraf dist && swc src -d dist","start":"tsnd --respawn --transpile-only src/index.ts"},"_npmUser":{"name":"d10f","email":"drm_thumbnailscreampies@simplelogin.fr"},"repository":{"url":"git+https://github.com/D10f/a-star-viz.git","type":"git"},"_npmVersion":"10.7.0","directories":{},"_nodeVersion":"18.20.4","_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0","rimraf":"^6.0.1","@swc/cli":"^0.4.0","prettier":"^3.3.2","@swc/core":"^1.6.13","typescript":"^5.5.3","ts-node-dev":"^2.0.0","@typescript-eslint/parser":"^7.16.0","@typescript-eslint/eslint-plugin":"^7.16.0"},"_npmOperationalInternal":{"tmp":"tmp/a-star-viz_1.0.1_1720701362086_0.607886605749614","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@d10f/a-star-viz","version":"1.0.2","keywords":[],"author":{"name":"d10f"},"license":"ISC","_id":"@d10f/a-star-viz@1.0.2","maintainers":[{"name":"d10f","email":"drm_thumbnailscreampies@simplelogin.fr"}],"homepage":"https://github.com/D10f/a-star-viz#readme","bugs":{"url":"https://github.com/D10f/a-star-viz/issues"},"dist":{"shasum":"e917720c02b10149fcca644c7059a98fd8d5c2ae","tarball":"https://registry.npmjs.org/@d10f/a-star-viz/-/a-star-viz-1.0.2.tgz","fileCount":69,"integrity":"sha512-oMwiA54kvgYzDZcWVBFhaR+PhhRumD8IYdZyeyq937ITlyKK6JqklBzvy5A7si2Q+iGS8cxvuyhnTOnkHI8Dfw==","signatures":[{"sig":"MEQCIGkOfdCPsFID6cYwTlQ95u7Exvl2Se2DXOSbxEhu9Xg0AiAyEaAHxiXM7EyJhcgrDDIlvLNGu80lpFQR2hOTdwXOTg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":742198},"main":"dist/src/web-components/tile-picker.js","gitHead":"46a8e789e5684eb3c321dd9b598e360ad6044c68","scripts":{"build":"rimraf dist && swc src -d dist","start":"tsnd --respawn --transpile-only src/index.ts"},"_npmUser":{"name":"d10f","email":"drm_thumbnailscreampies@simplelogin.fr"},"repository":{"url":"git+https://github.com/D10f/a-star-viz.git","type":"git"},"_npmVersion":"10.7.0","description":"An interactive visualization of the A* pathfinding algorithm in action. It features a hexagonal tile grid with various types of terrain to observe how the shortest route between two points changes.","directories":{},"_nodeVersion":"18.20.4","_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0","rimraf":"^6.0.1","@swc/cli":"^0.4.0","prettier":"^3.3.2","@swc/core":"^1.6.13","typescript":"^5.5.3","ts-node-dev":"^2.0.0","@typescript-eslint/parser":"^7.16.0","@typescript-eslint/eslint-plugin":"^7.16.0"},"_npmOperationalInternal":{"tmp":"tmp/a-star-viz_1.0.2_1720787572032_0.5522107750164447","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@d10f/a-star-viz","version":"1.1.0","keywords":[],"author":{"name":"d10f"},"license":"ISC","_id":"@d10f/a-star-viz@1.1.0","maintainers":[{"name":"d10f","email":"drm_thumbnailscreampies@simplelogin.fr"}],"homepage":"https://github.com/D10f/a-star-viz#readme","bugs":{"url":"https://github.com/D10f/a-star-viz/issues"},"dist":{"shasum":"e3a114bf31d354aa985a2907a8eafb41d8c3cb7c","tarball":"https://registry.npmjs.org/@d10f/a-star-viz/-/a-star-viz-1.1.0.tgz","fileCount":55,"integrity":"sha512-WGu77h1OCXQ+Z0TX+UdiKOkIKJpYhL20AxlC89QFo56hAXQ9rnzXGHWk6cbAv7Cjo/GSbZFMYMuBceUN1PRmkg==","signatures":[{"sig":"MEUCIQDQFwEAX7WT8f/5uzKQL/PvFbjMy7LcwjZ6FmDreY085QIgUmbJk3Ao/pASyxQZAr69ZwJPJHbPZXNlaa3VsJDyJJY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":705844},"main":"dist/main.js","gitHead":"3ee280ade307588cba9fdcf0fbc103a7d948fa5d","scripts":{"build":"export NODE_ENV=production; webpack","start":"webpack serve"},"_npmUser":{"name":"d10f","email":"drm_thumbnailscreampies@simplelogin.fr"},"repository":{"url":"git+https://github.com/D10f/a-star-viz.git","type":"git"},"_npmVersion":"10.7.0","description":"An interactive visualization of the A* pathfinding algorithm in action. It features a hexagonal tile grid with various types of terrain to observe how the shortest route between two points changes.","directories":{},"_nodeVersion":"18.20.4","_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0","rimraf":"^6.0.1","webpack":"^5.93.0","@swc/cli":"^0.4.0","prettier":"^3.3.2","@swc/core":"^1.6.13","ts-loader":"^9.5.1","typescript":"^5.5.3","@babel/core":"^7.24.8","ts-node-dev":"^2.0.0","webpack-cli":"^5.1.4","babel-loader":"^9.1.3","@babel/preset-env":"^7.24.8","webpack-dev-server":"^5.0.4","@babel/preset-typescript":"^7.24.7","@typescript-eslint/parser":"^7.16.0","@typescript-eslint/eslint-plugin":"^7.16.0"},"_npmOperationalInternal":{"tmp":"tmp/a-star-viz_1.1.0_1720806538183_0.8981514081141997","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"@d10f/a-star-viz","version":"1.1.1","keywords":[],"author":{"name":"d10f"},"license":"ISC","_id":"@d10f/a-star-viz@1.1.1","maintainers":[{"name":"d10f","email":"drm_thumbnailscreampies@simplelogin.fr"}],"homepage":"https://github.com/D10f/a-star-viz#readme","bugs":{"url":"https://github.com/D10f/a-star-viz/issues"},"dist":{"shasum":"0e70527c0c01d9c656b1f1f1badb605e51ebe70f","tarball":"https://registry.npmjs.org/@d10f/a-star-viz/-/a-star-viz-1.1.1.tgz","fileCount":5,"integrity":"sha512-zdLUng/q74ilhnH8INjg6LzFUVg0alGgeFuo34rU09e8hXC1/1Pnbs5DvvMDxbhyM8dqZXaejqRHFpeTw3Nhsg==","signatures":[{"sig":"MEYCIQC8YlveDigiY23Kgkb9ngwlDeYPH8WsU45XNeAoNBwCFQIhAPCl5oIauZLaTgAkol/SbioSReT8b2gAtlI4+JFjOp1B","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":119272},"main":"dist/main.js","gitHead":"efcc72f1234effab4aa713419cc5c2313c3f8aa1","scripts":{"build":"export NODE_ENV=production; webpack","start":"webpack serve"},"_npmUser":{"name":"d10f","email":"drm_thumbnailscreampies@simplelogin.fr"},"repository":{"url":"git+https://github.com/D10f/a-star-viz.git","type":"git"},"_npmVersion":"10.7.0","description":"An interactive visualization of the A* pathfinding algorithm in action. It features a hexagonal tile grid with various types of terrain to observe how the shortest route between two points changes.","directories":{},"_nodeVersion":"18.20.4","_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0","rimraf":"^6.0.1","webpack":"^5.93.0","@swc/cli":"^0.4.0","prettier":"^3.3.2","@swc/core":"^1.6.13","ts-loader":"^9.5.1","typescript":"^5.5.3","@babel/core":"^7.24.8","ts-node-dev":"^2.0.0","webpack-cli":"^5.1.4","babel-loader":"^9.1.3","@babel/preset-env":"^7.24.8","webpack-dev-server":"^5.0.4","@babel/preset-typescript":"^7.24.7","@typescript-eslint/parser":"^7.16.0","@typescript-eslint/eslint-plugin":"^7.16.0"},"_npmOperationalInternal":{"tmp":"tmp/a-star-viz_1.1.1_1720808042621_0.2132057393542095","host":"s3://npm-registry-packages"}},"1.1.2":{"name":"@d10f/a-star-viz","version":"1.1.2","keywords":[],"author":{"name":"d10f"},"license":"ISC","_id":"@d10f/a-star-viz@1.1.2","maintainers":[{"name":"d10f","email":"drm_thumbnailscreampies@simplelogin.fr"}],"homepage":"https://github.com/D10f/a-star-viz#readme","bugs":{"url":"https://github.com/D10f/a-star-viz/issues"},"dist":{"shasum":"99fef879671a8503caa5a0a171ec8a5820d1d365","tarball":"https://registry.npmjs.org/@d10f/a-star-viz/-/a-star-viz-1.1.2.tgz","fileCount":6,"integrity":"sha512-aUZX2pMxC2L6hO8qKoYq3bco4bdpuljsGSXr7DH3JhjDVP0W9fJ4wY2pvV1eYWkhnz4FIoG1229t2TavyPcsdQ==","signatures":[{"sig":"MEUCIQDP//oVAtunDnXSyit4h5/nagtIIBe9XgE7U3nQJhJATwIgRYSjhrmEePK6M8N16u0h5X/4ZjzDCLXVQ5SLyUHgGww=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":273333},"main":"dist/main.js","gitHead":"efcc72f1234effab4aa713419cc5c2313c3f8aa1","scripts":{"build":"export NODE_ENV=production; webpack","start":"webpack serve","publish":"bash -c './scripts/publish.sh'"},"_npmUser":{"name":"d10f","email":"drm_thumbnailscreampies@simplelogin.fr"},"repository":{"url":"git+https://github.com/D10f/a-star-viz.git","type":"git"},"_npmVersion":"10.7.0","description":"An interactive visualization of the A* pathfinding algorithm in action. It features a hexagonal tile grid with various types of terrain to observe how the shortest route between two points changes.","directories":{},"_nodeVersion":"18.20.4","_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0","rimraf":"^6.0.1","webpack":"^5.93.0","@swc/cli":"^0.4.0","prettier":"^3.3.2","@swc/core":"^1.6.13","ts-loader":"^9.5.1","typescript":"^5.5.3","@babel/core":"^7.24.8","ts-node-dev":"^2.0.0","webpack-cli":"^5.1.4","babel-loader":"^9.1.3","@babel/preset-env":"^7.24.8","webpack-dev-server":"^5.0.4","@babel/preset-typescript":"^7.24.7","@typescript-eslint/parser":"^7.16.0","@typescript-eslint/eslint-plugin":"^7.16.0"},"_npmOperationalInternal":{"tmp":"tmp/a-star-viz_1.1.2_1720808710479_0.4092537872485922","host":"s3://npm-registry-packages"}},"1.1.4":{"name":"@d10f/a-star-viz","version":"1.1.4","keywords":[],"author":{"name":"d10f"},"license":"ISC","_id":"@d10f/a-star-viz@1.1.4","maintainers":[{"name":"d10f","email":"drm_thumbnailscreampies@simplelogin.fr"}],"homepage":"https://github.com/D10f/a-star-viz#readme","bugs":{"url":"https://github.com/D10f/a-star-viz/issues"},"dist":{"shasum":"4f88fa2017973d4c11eb9059be3680f584a9e72b","tarball":"https://registry.npmjs.org/@d10f/a-star-viz/-/a-star-viz-1.1.4.tgz","fileCount":4,"integrity":"sha512-G672UU/EsEuSuZgXBbPddcCqz+GBDtKSmv2VgjxknsPHchay0k3zRLdQcSTw0jN5LgH/0YIuJIOcagRrk/sayw==","signatures":[{"sig":"MEUCIAfYCOQl7x5GvF6BgDNesolPuhBWg+8ZeZnCKeFR5x4PAiEA/BZAkehTrpM+mMJJkKgnM0a5H75hiOO3SAB95TEumQI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":156541},"main":"main.js","gitHead":"2ccf9741bd291d556ef4b1a18edca9ec887e7da0","scripts":{"build":"rimraf dist && export NODE_ENV=production; webpack","start":"webpack serve","publish":"bash ./scripts/publish.sh"},"_npmUser":{"name":"d10f","email":"drm_thumbnailscreampies@simplelogin.fr"},"repository":{"url":"git+https://github.com/D10f/a-star-viz.git","type":"git"},"_npmVersion":"10.7.0","description":"An interactive visualization of the A* pathfinding algorithm in action. It features a hexagonal tile grid with various types of terrain to observe how the shortest route between two points changes.","directories":{},"_nodeVersion":"18.20.4","_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0","rimraf":"^6.0.1","webpack":"^5.93.0","prettier":"^3.3.2","ts-loader":"^9.5.1","typescript":"^5.5.3","@babel/core":"^7.24.8","ts-node-dev":"^2.0.0","webpack-cli":"^5.1.4","babel-loader":"^9.1.3","@babel/preset-env":"^7.24.8","webpack-dev-server":"^5.0.4","@babel/preset-typescript":"^7.24.7","@typescript-eslint/parser":"^7.16.0","@typescript-eslint/eslint-plugin":"^7.16.0"},"_npmOperationalInternal":{"tmp":"tmp/a-star-viz_1.1.4_1720816237240_0.10087101067119053","host":"s3://npm-registry-packages"}},"1.1.5":{"name":"@d10f/a-star-viz","version":"1.1.5","keywords":[],"author":{"name":"d10f"},"license":"ISC","_id":"@d10f/a-star-viz@1.1.5","maintainers":[{"name":"d10f","email":"drm_thumbnailscreampies@simplelogin.fr"}],"homepage":"https://github.com/D10f/a-star-viz#readme","bugs":{"url":"https://github.com/D10f/a-star-viz/issues"},"dist":{"shasum":"e8654be084052b39f02766b81975f1d753d62f2d","tarball":"https://registry.npmjs.org/@d10f/a-star-viz/-/a-star-viz-1.1.5.tgz","fileCount":50,"integrity":"sha512-FgjdqNyL2EN8e+ktKjSt+JP/9F+CsCcb6BK583dh0RPEl21fGbcW0rGx/4cU/TbgPyqlXjS63BWW1kTo0rgaEA==","signatures":[{"sig":"MEQCIB7kWiq8nX1nPom8ZfcesVXb5gJaM8pC6gvjK20jrHsXAiBAlj48aDgAQmJ8lr1tZzWT/vpm6RU4rPK8Z7BsGXpyWQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":588924},"main":"main.js","gitHead":"2ccf9741bd291d556ef4b1a18edca9ec887e7da0","scripts":{"build":"rimraf dist && export NODE_ENV=production; webpack","start":"webpack serve","publish":"bash ./scripts/publish.sh"},"_npmUser":{"name":"d10f","email":"drm_thumbnailscreampies@simplelogin.fr"},"repository":{"url":"git+https://github.com/D10f/a-star-viz.git","type":"git"},"_npmVersion":"10.7.0","description":"An interactive visualization of the A* pathfinding algorithm in action. It features a hexagonal tile grid with various types of terrain to observe how the shortest route between two points changes.","directories":{},"_nodeVersion":"18.20.4","_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.0","rimraf":"^6.0.1","webpack":"^5.93.0","prettier":"^3.3.2","ts-loader":"^9.5.1","typescript":"^5.5.3","@babel/core":"^7.24.8","ts-node-dev":"^2.0.0","webpack-cli":"^5.1.4","babel-loader":"^9.1.3","@babel/preset-env":"^7.24.8","webpack-dev-server":"^5.0.4","@babel/preset-typescript":"^7.24.7","@typescript-eslint/parser":"^7.16.0","@typescript-eslint/eslint-plugin":"^7.16.0"},"_npmOperationalInternal":{"tmp":"tmp/a-star-viz_1.1.5_1720816588342_0.3826173118265519","host":"s3://npm-registry-packages"}},"1.1.6":{"author":{"name":"d10f"},"name":"@d10f/a-star-viz","version":"1.1.6","main":"main.js","repository":{"type":"git","url":"git+https://github.com/D10f/a-star-viz.git"},"scripts":{"start":"webpack serve","build":"rimraf dist && export NODE_ENV=production; webpack","upload":"bash ./scripts/publish.sh"},"keywords":[],"license":"ISC","description":"An interactive visualization of the A* pathfinding algorithm in action. It features a hexagonal tile grid with various types of terrain to observe how the shortest route between two points changes.","devDependencies":{"@babel/core":"^7.24.8","@babel/preset-env":"^7.24.8","@babel/preset-typescript":"^7.24.7","@typescript-eslint/eslint-plugin":"^7.16.0","@typescript-eslint/parser":"^7.16.0","babel-loader":"^9.1.3","eslint":"^8.57.0","prettier":"^3.3.2","rimraf":"^6.0.1","ts-loader":"^9.5.1","ts-node-dev":"^2.0.0","typescript":"^5.5.3","webpack":"^5.93.0","webpack-cli":"^5.1.4","webpack-dev-server":"^5.0.4"},"_id":"@d10f/a-star-viz@1.1.6","gitHead":"2ccf9741bd291d556ef4b1a18edca9ec887e7da0","bugs":{"url":"https://github.com/D10f/a-star-viz/issues"},"homepage":"https://github.com/D10f/a-star-viz#readme","_nodeVersion":"18.20.4","_npmVersion":"10.7.0","dist":{"integrity":"sha512-9I224LB78Yw/3lvVlTpqx25aZ5ZauHmprqcnFXSCjwNgCPZWRRwHWpG4NmAEH0Rrsejkqi8uY9oq5bQzzJeF3w==","shasum":"7dbbf83ad83a7821b9ad4a3ed9f10ae459003ad8","tarball":"https://registry.npmjs.org/@d10f/a-star-viz/-/a-star-viz-1.1.6.tgz","fileCount":4,"unpackedSize":156830,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCJq3iKQe+xpMYMCb7idKdLFkY14NqoKKxr7bt+8IJ5OQIgH7Kw9tgTeE5583qqf+YD2f20Bi7Op/UxhP1UPqlhY10="}]},"_npmUser":{"name":"d10f","email":"drm_thumbnailscreampies@simplelogin.fr"},"directories":{},"maintainers":[{"name":"d10f","email":"drm_thumbnailscreampies@simplelogin.fr"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/a-star-viz_1.1.6_1720816749481_0.716344737556776"},"_hasShrinkwrap":false}},"time":{"created":"2024-07-11T12:21:33.111Z","modified":"2024-07-12T20:39:09.802Z","1.0.0":"2024-07-11T12:21:33.390Z","1.0.1":"2024-07-11T12:36:02.268Z","1.0.2":"2024-07-12T12:32:52.225Z","1.1.0":"2024-07-12T17:48:58.430Z","1.1.1":"2024-07-12T18:14:02.834Z","1.1.2":"2024-07-12T18:25:10.664Z","1.1.4":"2024-07-12T20:30:37.402Z","1.1.5":"2024-07-12T20:36:28.535Z","1.1.6":"2024-07-12T20:39:09.637Z"},"bugs":{"url":"https://github.com/D10f/a-star-viz/issues"},"author":{"name":"d10f"},"license":"ISC","homepage":"https://github.com/D10f/a-star-viz#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/D10f/a-star-viz.git"},"description":"An interactive visualization of the A* pathfinding algorithm in action. It features a hexagonal tile grid with various types of terrain to observe how the shortest route between two points changes.","maintainers":[{"name":"d10f","email":"drm_thumbnailscreampies@simplelogin.fr"}],"readme":"# A* Pathfinding Visualization\n\nAn interactive visualization of the A* pathfinding algorithm in action. It features a hexagonal tile grid with various types of terrain to observe how the shortest route between two points changes.\n\n![animated gif of the pathfinding visualization](assets/pathfinding_visualization.gif)\n\n## Usage\n\nFirst, install the package:\n\n```console\n$ npm install @d10f/a-star-viz\n```\n\nThis contains nothing but the Web Component that you can embed directly into your code. Just import, and use it.\n\n```js\nimport '@d10f/a-star-viz';\n\n<a-star-viz />\n```\n\nIf you're using Next.js, you're going to need to declare the component you're using this as a Client Component. In addition, the import of the package needs to happen asynchronously:\n\n```jsx\n\"use client\";\n\nimport { useEffect } from \"react\";\n\nexport default function SomePage() {\n    useEffect(() => {\n        import(\"@d10f/a-star-viz\");\n    }, []);\n\n    return (\n        <a-star-viz />\n    );\n}\n```\n\nIn addition, to please the TypeScript compiler you will need to declare the custom element, as well as the module:\n\n```ts\ndeclare namespace JSX {\n    interface IntrinsicElements {\n        \"a-star-viz\": any;\n    }\n}\n\ndeclare module \"@d10f/a-star-viz\";\n```\n\n##  To Dos\n\n- [x] Make it into a web component for ease of use.\n- [x] Publish as an https://www.npmjs.com/package/@d10f/a-star-viz[NPM package].\n- [x] Add bundler to include make all web component self-contained.\n- [ ] Customize terrain tiles.\n- [ ] Better support for various screen sizes.\n- [ ] Better customization options through attributes passed in at runtime.\n- [ ] Improve TypeScript support.\n","readmeFilename":"README.md"}