lop
JSON →lop is a JavaScript parsing library using parser combinators that emphasizes helpful error messages. Current stable version is 0.4.2, with infrequent releases. Unlike many parser libraries (e.g., PEG.js, nearley), lop integrates directly with tokenisers and provides cut operators to control backtracking and produce precise error locations. Its unique selling point is the generation of detailed, file-and-line-anchored error messages when parsing fails. It supports both automatic regex-based tokenisation and custom tokenisers. The library is untyped (no TypeScript definitions). It is lightweight with no dependencies.
Traffic · last 30 days ↓50% vs prev 7d
total hits 16
actors 7 distinct systems
last hit 1d ago AhrefsBot
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇺🇦 Ukraine · 🇹🇷 Turkey · 🇩🇪 Germany
API endpoints
full doc /v1/registry/lop
install /v1/registry/lop/install
compatibility /v1/registry/lop/compatibility