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 400,000 packages pre-installed, including denmark-dr-stream with all npm packages installed. Try it out:

var denmarkDrStream = require("denmark-dr-stream")

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

denmark-dr-stream v2.0.2

Creates a download stream from a programcard URN

#denmark-dr-stream Build Status

Creates a download stream from a url


npm install denmark-dr-stream


const drvideo = require('denmark-dr-stream');

Given a programcard urn, this module will extract the manifest information, find the video source of the highest quality and then pipe that to the stream.

The programcard urn can for example be found using the denmark-dr-programcard module.

const fs = require('fs');
const urn = 'urn:dr:mu:programcard:55f8aaa7a11f9f17c87b7254';


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