Are you happy with your logging solution? Would you help us out by taking a 30-second survey? Click here


Error/Warning reporting frontend for the PureScript compiler

Subscribe to updates I use purescript-psa

Statistics on purescript-psa

Number of watchers on Github 37
Number of open issues 7
Average time to close an issue 3 days
Main language PureScript
Average time to merge a PR 19 days
Open pull requests 1+
Closed pull requests 0+
Last commit over 1 year ago
Repo Created almost 4 years ago
Repo Last Updated over 1 year ago
Size 66 KB
Organization / Authornatefaubion
Page Updated
Do you use purescript-psa? Leave a review!
View open issues (7)
View purescript-psa activity
View on github
Fresh, new opensource launches 🚀🚀🚀
Trendy new open source projects in your inbox! View examples

Subscribe to our mailing list

Evaluating purescript-psa for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)


A pretty, flexible error/warning reporting frontend for the PureScript compiler (psc).

  • Colors!
  • Original source spans in errors
  • Fine-grained warning filtering
  • Warning persistence


npm install -g purescript-psa

Sample Usage

Censor all warnings:

psa --censor-warnings <psc-options>

Censor library warnings:

psa --censor-lib <psc-options>

Censor source warnings:

psa --censor-src <psc-options>

Censor specific warning codes:

psa --censor-codes=ShadowedName,ImplicitImport,MissingTypeDeclaration <psc-options>

Only show specific warning codes:

psa --filter-codes=DeprecatedOperatorDecl,DeprecatedClassExport <psc-options>

Turn source warnings into errors:

psa --strict <psc-options>

Note: It's assumed psc is in your path. If you'd like to use a custom binary location you can set the --psc=/foo/bar/psc flag.

Persisting Warnings

psc does not persist warnings between compilations, but psa can do it with the --stash flag. This serializes the set of warnings to disk and merges it with the new set on each compilation.

psa --stash <psc-options>

If you are compiling multiple projects from the same root, you can specify which stash file should be used:

psa <psc-options>

Usage with pulp

Pulp supports building with psa: it will be used by default if it is installed, and options will be passed through, eg:

pulp build -- --stash --censor-lib <psc-options>
purescript-psa open issues Ask a question     (View All Issues)
  • about 3 years Config file
  • over 3 years Filter warnings by module name globs
  • over 3 years Add --strict for specific codes
  • almost 4 years Display progress somehow?
  • almost 4 years Filter warnings by source globs
purescript-psa open pull requests (View All Pulls)
  • [WIP] Updates for 0.9
purescript-psa list of languages used
Other projects in PureScript