Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including podcast-chapter-parser-audacity with all npm packages installed. Try it out:

var podcastChapterParserAudacity = require("podcast-chapter-parser-audacity")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

podcast-chapter-parser-audacity v1.0.2

Parse Audacity podcast chapters format into JSON

Podcast Chapter Parser for Audacity

Podcast Chapter Parser for Audacity label file.

Installation

npm install podcast-chapter-parser-audacity

Example


var Audacity = require('podcast-chapter-parser-audacity');

var chapters = Audacity.parse("1.200000 1.200000    Intro\n20.500000    20.500000   Say Hello");
// =>
// [
//     { start: 1200, title: "Intro" },
//     { start: 20500, title: "Say Hello" }
// ]

Development

npm install
npm test

Changelog

1.0.2 - 2017-09-21

  • accept comma as time separator

1.0 - 2017-02-17

  • Release
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free