An open API service indexing awesome lists of open source software.

https://github.com/eteubert/podcast-chapter-parser-mp4chaps

JavaScript Parser for mp4chaps
https://github.com/eteubert/podcast-chapter-parser-mp4chaps

Last synced: about 1 year ago
JSON representation

JavaScript Parser for mp4chaps

Awesome Lists containing this project

README

          

# Podcast Chapter Parser for mp4chaps

Podcast Chapter Parser for mp4chaps

## Installation

```bash
npm install podcast-chapter-parser-mp4chaps
```

## Example

```js
var MP4Chaps = require('podcast-chapter-parser-mp4chaps');

var chapters = MP4Chaps.parse("1.2 Intro\n20 Say Hello ");
// =>
// [
// { start: 1200, title: "Intro" },
// { start: 2000, title: "Say Hello", href: "http://www.example.com" }
// ]
```

## Development

```
npm install
npm test
```