No description
  • JavaScript 85.5%
  • HTML 7.7%
  • TypeScript 5.8%
  • CSS 0.6%
  • GLSL 0.4%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-10-01 16:05:42 +02:00
0.1.0 make cloud movement independent of time advancement 2026-10-01 16:05:42 +02:00
scripts stars 2026-09-28 13:40:52 +02:00
src apply color to clouds 2026-10-01 16:05:15 +02:00
types stars 2026-09-28 13:40:52 +02:00
.gitignore Initial commit 2026-09-28 08:57:03 +02:00
manifest.json Initial setup 2026-09-28 09:09:34 +02:00
package.json Initial setup 2026-09-28 09:09:34 +02:00
pnpm-lock.yaml Initial setup 2026-09-28 09:09:34 +02:00
pnpm-workspace.yaml allow esbuild builds 2026-09-28 22:10:31 +02:00
README.md Initial commit 2026-09-28 08:57:03 +02:00
tsconfig.json Initial setup 2026-09-28 09:09:34 +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.