node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org »

podcast-chapter-parser-mp4chaps

Podcast Chapter Parser for mp4chaps

Podcast Chapter Parser for mp4chaps

Installation

npm install podcast-chapter-parser-mp4chaps

Example

var MP4Chaps = require('podcast-chapter-parser-mp4chaps');
 
var chapters = MP4Chaps.parse("1.2 Intro\n20 Say Hello <http://www.example.com>");
// => 
// [ 
//     { start: 1200, title: "Intro" }, 
//     { start: 2000, title: "Say Hello", href: "http://www.example.com" } 
// ] 

Development

npm install
npm test