Includes GitBook parsers and normalize output
npm install gitbook-parsers 
This Javascript module provides a low level parsing interface for GitBooks. The API is promise-based, and this module can be used in both Node.js and the Browser.
| Parser | Latest Version | Tests |
| ------ | ------- | ----- |
| Markdown |  |  |
| AsciiDoc |  |  |
| reStructuredText |  |  |
This module can be used in node.js and in the browser
##### In the Browser:
Include the file:
```
##### In Node.js:
``
npm install gitbook-parsers
Then include it using:
`js`
var gitbookParsers = require("gitbook-parsers");
##### Find a parser for a file:
`js`
var parser = gitbookParsers.getForFile("FILE.md");
##### Use this parser:
Parse the summary:
`js`
parser.summary("* An entry")
.then(function(summary) { ... });
Parse the glossary:
`js`
parser.glossary("...")
.then(function(glossary) { ... });
Parse the languages index:
`js`
parser.langs("...")
.then(function(languages) { ... });
Parse a page to html:
`js``
parser.page("...")
.then(function(sections) { ... });