A breadth-first search path finder.
Ported from Kotlin: https://github.com/rsmod/rsmod/tree/master/game/pathfinder
https://www.npmjs.com/package/@2004scape/rsmod-pathfinder
npm i @2004scape/rsmod-pathfinder
https://github.com/wclr/yalc
npm run asbuild:debug # Builds the wasm bundle.
yalc publish --push # Publishes to the local repo and pushes to all projects it has been added to.
yalc add @2004scape/rsmod-pathfinder # Adds the published library to your project.
npm run asbuild:release # Builds the wasm bundle.
# update package.json version
# commit and push to main
npm publish --access public # Publishes the version of this to npm.
npm run prepare
If you are on a Mac:
chmod ug+x .husky/*
chmod ug+x .git/hooks/*