JavaScript implementation of the Earley parsing algorithm
Import this into your site like so:
<script src='https://cdn.jsdelivr.net/npm/earley-parser@1/earley-parser.js'></script>
Or install it from npm like so:
npm install earley-parser
Then see the API Reference page for what to do next.