node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org ยป



pegram is an attempt to develop human phrase recognitions using PEG grammar knowledge bases and the PEG javascript parser Build Status


  • Detects most french grammar terms with help of
  • Useful logging console with ANSI colors
  • Comes with a custom HTML parser written with a PEG grammar

See the todo-list for all pegram plans If you want to see other stuff, please contact me on the enhancement section or make a pull request.

Getting started


If you have already Node.js with npm installed , type

npm install pegram

You can also download the master branch sources and install it with :

npm install


Go to the unzipped directory and execute pegram :

node pegram.js

You can now access http://localhost:8000, and visualize the decoding of the string into a JSON grammar tree (see the javascript console).