Deno bindings for raylib. This is currently aligned to raylib v5.0.
import {
Drawing,
LIGHTGRAY,
RAYWHITE,
Text,
Window,
} from "https://deno.land/x/raylib";
Window.init(800, 450, "Raylib - Basic Window");
while (!Window.shouldClose()) {
Drawing.beginDrawing();
Drawing.clearBackground(RAYWHITE);
Text.drawText(
"Congrats! You created your first window!",
190,
200,
20,
LIGHTGRAY,
);
Drawing.endDrawing();
}
Window.close();