No description
  • JavaScript 67.6%
  • TypeScript 32.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-09-24 14:21:45 +02:00
0.1.0 Record at steady framerate independent of game framerate 2026-09-24 14:21:45 +02:00
scripts very very very very basic recording 2026-09-24 13:38:40 +02:00
types very very very very basic recording 2026-09-24 13:38:40 +02:00
.gitignore very very very very basic recording 2026-09-24 13:38:40 +02:00
manifest.json very very very very basic recording 2026-09-24 13:38:40 +02:00
package.json very very very very basic recording 2026-09-24 13:38:40 +02:00
pnpm-lock.yaml very very very very basic recording 2026-09-24 13:38:40 +02:00
README.md Initial commit 2026-09-24 10:47:20 +02:00
tsconfig.json very very very very basic recording 2026-09-24 13:38:40 +02:00

PML TypeScript repository template

Initial setup

install npm packages

install the npm packages with your node package manager

Fetch PolyTypes

Run npm run types to download the latest version of the PolyTypes type definition

Development

IDE

It is recommended to use an IDE with TypeScript support like VSCode or WebStorm

Testing

To test your mod, run npm run dev, then open https://w.polymodloader.com in your browser and import http://localhost:8081 as a pml mod.
Make sure to disable cache mods in PML settings.
Any changes to the TypeScript files will automatically trigger a compile, so you won't have to worry about compiling.