A JavaScript parser for Google Closure Compiler and JSDoc type expressions. Catharsis is designed to be: Accurate. Catharsis is based on a PEG.js grammar that's designed to handle any valid type expression. It uses a thorough test suite to verify the parser's accuracy. Fast. Parse results are cached, so the parser is invoked only when necessary. Flexible. Catharsis can convert a parse result back