JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 541
  • Score
    100M100P100Q125089F
  • License ISC

A breadth-first search path finder.

Package Exports

  • @2004scape/rsmod-pathfinder
  • @2004scape/rsmod-pathfinder/dist/rsmod-pathfinder.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@2004scape/rsmod-pathfinder) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

rsmod-pathfinder

A breadth-first search path finder.

Ported from Kotlin: https://github.com/rsmod/rsmod/tree/master/game/pathfinder

Installing (Consuming)

https://www.npmjs.com/package/@2004scape/rsmod-pathfinder

npm i @2004scape/rsmod-pathfinder

Publishing (Local Development)

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. 

Publishing (Release)

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.

First Time Cloning (Local Development)

npm run prepare

If you are on a Mac:

chmod ug+x .husky/*
chmod ug+x .git/hooks/*