Skip to main content
This release was yanked — the latest version of @fazil47/deno-winit is 0.2.1. Jump to latest

Winit bindings for Deno.

This package works with Deno
This package works with Deno
JSR Score
94%
Published
3 months ago (0.2.0)

deno_winit

Winit bindings for Deno.

Demo of the hello_triangle example running on Windows

How to run

Run the hello_triangle example:

deno task hello_triangle

How to run using local winit library

Build winit library:

cargo build --release

Run the hello_triangle_local example:

deno task hello_triangle_local

Add Package

deno add jsr:@fazil47/deno-winit

Import symbol

import * as mod from "@fazil47/deno-winit";

---- OR ----

Import directly with a jsr specifier

import * as mod from "jsr:@fazil47/deno-winit";