# mpd-parser
[](https://travis-ci.org/videojs/mpd-parser)
[](https://greenkeeper.io/)
[](http://slack.videojs.com)
[](https://nodei.co/npm/mpd-parser/)
mpd parser
## Table of Contents
- [Installation](#installation)
- [Usage](#usage)
- [Parsed Output](#parsed-output)
- [Including the Parser](#including-the-parser)
- [`
```
### Browserify
When using with Browserify, install mpd-parser via npm and `require` the parser as you would any other module.
```js
var mpdParser = require('mpd-parser');
var parsedManifest = mpdParser.parse(manifest, manifestUrl);
```
With ES6:
```js
import { parse } from 'mpd-parser';
const parsedManifest = parse(manifest, manifestUrl);
```
### RequireJS/AMD
When using with RequireJS (or another AMD library), get the script in whatever way you prefer and `require` the parser as you normally would:
```js
require(['mpd-parser'], function(mpdParser) {
var parsedManifest = mpdParser.parse(manifest, manifestUrl);
});
```
## License
Apache-2.0. Copyright (c) Brightcove, Inc