Skip to content
@purescript-web

purescript-web

Browser API libraries for PureScript

Hi! 👋

Welcome to purescript-web. This organization hosts a collection of PureScript bindings to various web specifications like HTML5, Web Workers, and the Canvas 2D Context. We hope you find them useful as you build web applications with PureScript.

If you would like to contribute a binding to this organization, please write up your idea on the PureScript Discourse and one of the maintainers will respond to your post. As you put your bindings together, please bear in mind the following guidelines:

  • All of the bindings should mirror the web specifications as closely as possible. As most specifications are imperative and stateful, most of the public API should be written using the Effect monad (implementing FFI internally via EffectFnX but exposing that publicly via Effect) unless there's a compelling reason not to.
  • Bindings should implement most of a specification before being submitted.
  • Original authors are kindly asked to continue reviewing pull requests and issues for their libraries after they've been transferred to the purescript-web organization.

Thank you for your interest in purescript-web and in the PureScript programming language.

Popular repositories Loading

  1. purescript-canvas purescript-canvas Public

    Canvas bindings for PureScript

    PureScript 56 33

  2. purescript-web-dom purescript-web-dom Public

    Type definitions and low level interface implementations for the W3C DOM spec

    PureScript 34 24

  3. purescript-web-html purescript-web-html Public

    Type definitions and low level interface implementations for the W3C HTML5 spec

    PureScript 34 25

  4. purescript-webgpu purescript-webgpu Public

    Low-level bindings to WebGPU

    PureScript 16

  5. purescript-web-socket purescript-web-socket Public

    Type definitions and low level interface implementations for the W3C WebSocket API

    PureScript 12 3

  6. purescript-web-storage purescript-web-storage Public

    Type definitions and low level interface implementations for the W3C WebStorage API

    PureScript 10 6

Repositories

Showing 10 of 25 repositories
  • purescript-web-fetch Public

    Types and low-level implementations for the Fetch API

    purescript-web/purescript-web-fetch's past year of commit activity
    PureScript 8 MIT 6 3 1 Updated Oct 10, 2026
  • purescript-web/purescript-web-intersection-observer's past year of commit activity
    PureScript 4 MIT 1 1 0 Updated Oct 10, 2026
  • purescript-web-file Public

    Type definitions and low level interface implementations for the W3C file API

    purescript-web/purescript-web-file's past year of commit activity
    PureScript 7 MIT 6 1 0 Updated Oct 10, 2026
  • purescript-web-storage Public

    Type definitions and low level interface implementations for the W3C WebStorage API

    purescript-web/purescript-web-storage's past year of commit activity
    PureScript 10 MIT 6 1 0 Updated Oct 10, 2026
  • purescript-web-events Public

    Type definitions and low level interface implementations for Event, CustomEvent, and EventTarget

    purescript-web/purescript-web-events's past year of commit activity
    PureScript 7 MIT 5 5 0 Updated Oct 10, 2026
  • purescript-web-cssom Public

    Type definitions and low level interface implementations for the CSS Object Model

    purescript-web/purescript-web-cssom's past year of commit activity
    PureScript 9 MIT 4 1 0 Updated Oct 10, 2026
  • purescript-web-dom-xpath Public

    Type definitions and low level interface implementations for the XPath API

    purescript-web/purescript-web-dom-xpath's past year of commit activity
    PureScript 2 MIT 2 1 0 Updated Oct 10, 2026
  • purescript-web-encoding Public

    Type definitions and low level interface implementations for TextEncoder and TextDecoder

    purescript-web/purescript-web-encoding's past year of commit activity
    PureScript 3 MIT 2 0 0 Updated Oct 10, 2026
  • purescript-web-socket Public

    Type definitions and low level interface implementations for the W3C WebSocket API

    purescript-web/purescript-web-socket's past year of commit activity
    PureScript 12 MIT 3 1 0 Updated Oct 10, 2026
  • purescript-web-touchevents Public

    Type definitions and low level interface implementations for the W3C touch events APIs spec

    purescript-web/purescript-web-touchevents's past year of commit activity
    PureScript 3 MIT 2 0 0 Updated Oct 10, 2026

Top languages

PureScript

Most used topics

Loading…