{"id":25697689,"url":"https://github.com/geodacenter/geoda-lib","last_synced_at":"2025-06-14T15:05:46.241Z","repository":{"id":216580899,"uuid":"741667903","full_name":"GeoDaCenter/geoda-lib","owner":"GeoDaCenter","description":null,"archived":false,"fork":false,"pushed_at":"2025-06-06T03:39:57.000Z","size":33560,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-06T04:29:12.622Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://geodacenter.github.io/geoda-lib/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GeoDaCenter.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-01-10T21:34:30.000Z","updated_at":"2025-06-06T03:39:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"b2c73ded-741b-414c-a767-6f795556d47f","html_url":"https://github.com/GeoDaCenter/geoda-lib","commit_stats":null,"previous_names":["geodacenter/geoda-lib"],"tags_count":64,"template":false,"template_full_name":null,"purl":"pkg:github/GeoDaCenter/geoda-lib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeoDaCenter%2Fgeoda-lib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeoDaCenter%2Fgeoda-lib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeoDaCenter%2Fgeoda-lib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeoDaCenter%2Fgeoda-lib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GeoDaCenter","download_url":"https://codeload.github.com/GeoDaCenter/geoda-lib/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeoDaCenter%2Fgeoda-lib/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259835393,"owners_count":22918980,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-25T02:30:16.308Z","updated_at":"2025-06-14T15:05:46.227Z","avatar_url":"https://github.com/GeoDaCenter.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GeoDa WASM\n\nGeoDa WASM is a WebAssembly module that provides spatial data analysis capabilities from the GeoDa C++ library for use in web browsers and Node.js applications.\n\n## ✨ Features\n\n@geoda/core\n- 🗺️ Mapping\n- 📊 Data Exploration\n- ⚖️ Spatial Weights\n- ⚡ Spatial Operations\n\n@geoda/lisa\n- 📐 Spatial Autocorrelation Analysis\n\n@geoda/regression\n- 📈 Spatial Regression\n\n@geoda/clustering (WIP)\n- 📍 Spatial Clustering\n\nDive deeper in our [API Overview](https://geodacenter.github.io/geoda-lib/api-overview)!\n\n## 🚀 Installation\n\nGet started in a flash with your favorite package manager:\n\n```bash\nnpm install @geoda/core\n```\n\nEach package works independently, so you can install only the packages you need.\n\n## 🛠️ Example\n\nHere is a quick example of using GeoDaLib to apply Local Moran statistics on some example data:\n\n```js\nimport {localMoran} from '@geoda/lisa';\n\n// exmaple data\nconst data = [3.0, 3.0, 0.0, 9.0, 8.0, 8.5];\nconst neighbors = [[1], [0], [], [4, 5], [3, 5], [3, 4]];\nconst permutation = 99;\n\n// call local moran\nconst result = await localMoran({data, neighbors, permutation});\n```\n\n## 🏗️ Development\n\n### 📋 Prerequisites\n\n- CMake (3.5 or higher)\n- Emscripten\n- Node.js (22.11.0 recommended)\n- Yarn (4.0.0 recommended)\n\n### 🛠️ Build Steps\n\n1. Clone the repository\n2. Build the WASM module:\n\n```bash\ncd js\nyarn install\nyarn wasm\n```\n\n3. Build the JavaScript wrapper:\n\n```bash\nyarn build\n```\n\n4. Run the tests:\n\n```bash\nyarn test\n```\n\n## 📜 License\n\nThis project is licensed under the MIT License. Authors: Luc Anselin and Xun Li.\n\n## 🤝 Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeodacenter%2Fgeoda-lib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeodacenter%2Fgeoda-lib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeodacenter%2Fgeoda-lib/lists"}