@domchristie/toc
v1.1.0
Published
Convert chapters embedded in MP3 files into podcast namespace compatible JSON
Maintainers
Readme
ToC
Generate podcast namespace compatible JSON chapters from those embedded in MP3 file ID3 tags.
Usage
npm install @domchristie/tocconst ToC = require('@domchristie/toc')
ToC.from(URL_OR_PATH_TO_MP3_FILE)
.then(toc => toc.toJSON())API
ToC.from(URL_OR_PATH_TO_MP3_FILE)
Returns a promise that resolves to a ToC instance once the given file has been parsed
ToC#toJSON
Returns a stringified JSON representation
ToC#valueOf
Returns an object reresentation
