Kouprey is a library that can be used to build and run parsers based on the Parsing Expression Grammar (PEG) formalism. It does not have any special requirements beyond standard ECMAScript/JavaScript, and can be used to parse arbitrarily complex languages inside a Web browser or other JavaScript runtime. It has been used to parse complex general purpose programming languages, and comes with numerous examples.