~toastal/purescript-web-page-visibility

Type definitions and low level interface implementations for W3C Page Visibility API
Don’t upload this code to Microsoft GitHub
README render follows Nixpkgs
Upgrade Nix and Spago sets

clone

read-only
https://git.sr.ht/~toastal/purescript-web-page-visibility
read/write
git@git.sr.ht:~toastal/purescript-web-page-visibility

You can also use your local clone with git send-email.

purescript-web-page-visibility

Type definitions & low-level interface implementations for W3C Page Visibility API. Alternatively, MDN’s Page Visibility API.

Installation

Via spago
$ spago install web-page-visibility

License

This project is licensed under The 3-Clause BSD License (BSD-3-Clause) — see the LICENSE file in this project for details.

Setup

Git

Hooks and config
$ git config --local include.path ../.gitconfig
$ git config --local core.hooksPath .githooks

Nix + Flakes

For dev shell
$ nix develop
For automatic shell via direnv
$ cp .envrc.example .envrc
$ direnv allow
Caching via Cachix
$ cachix use toastal-purescript-web

Not Nix

Requirements
package version
purs ~0.15.0
spago ^0.20.9
purs-tidy latest

Although assume the flake.{nix,lock} as the source of truth.

Funding

If you want to make a small contribution to the maintanence of this & other projects.

Do not follow this link