A pathfinding library with JavaScript/TypeScript bindings and a web-based testbed application. The pathfinder uses a combination of graph-based and navmesh-based pathfinding that you can mix and match based on your needs.
auki-pathfinding-js/- TypeScript pathfinding libraryauki-pathfinding-rs/- Rust implementation (not covered in this README)test-web-wasm/- React + Vite web application for testing the pathfinding library
- Node.js (v22 or higher)
- npm
cd auki-pathfinding-js
npm install
npm run build This command will:
- Install dependencies for the TypeScript library
- Build the TypeScript library
- Install dependencies for the test web application
cd test-web-wasm
npm install
npm run devThe application will be available at http://localhost:5173
The package uses:
- earcut for polygon triangulation
- recast-navigation-js for pathfinding algorithms
The testbed uses:
- React + Vite for the web testbed
- Tailwind CSS for styling