From 11bc94f4c35fe0b2cefe78cc0b31101dad496681 Mon Sep 17 00:00:00 2001 From: Futago-za Ryuu Date: Mon, 29 Jan 2018 02:08:12 +0000 Subject: [PATCH] Updated docs for JavaScript API [ci skip] This includes detials about the 3 main methods a developer will use along with their respective options. Closes #553 --- README.md | 137 ++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 92 insertions(+), 45 deletions(-) diff --git a/README.md b/README.md index 7226154..e6d7000 100644 --- a/README.md +++ b/README.md @@ -148,7 +148,7 @@ before or it's counter part: In Node.js, require the PEG.js parser generator module: -```javascript +```js var peg = require("pegjs"); ``` @@ -156,56 +156,103 @@ In browser, include the PEG.js library in your web page or application using the `