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

  1. purescript-canvas purescript-canvas Public

    Canvas bindings for PureScript

    PureScript 52 33

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

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

    PureScript 33 24

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

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

    PureScript 32 24

  4. purescript-webgpu purescript-webgpu Public

    Low-level bindings to WebGPU

    PureScript 15

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

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

    PureScript 12 4

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

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

    PureScript 10 7

Repositories

Showing 10 of 25 repositories

Top languages

Loading…

Most used topics

Loading…