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
- Host: GitHub
- URL: https://github.com/eteubert/podcast-chapter-parser-mp4chaps
- Owner: eteubert
- Created: 2016-12-08T12:50:43.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-09T14:04:10.000Z (over 9 years ago)
- Last Synced: 2025-04-28T18:56:00.879Z (about 1 year ago)
- Language: JavaScript
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```