npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

remixplayer

v2.0.2

Published

RemixPlayer is a library that embeds audio in another webpage. RemixPlayer allows you to play a single full audio file, multiple full audio files, or multiple excerpts of audio files. Initially created for podcast remixing, RemixPlayer can be used to play

Readme

RemixPlayer Documentation

Description:
RemixPlayer is a library that embeds audio in another webpage. RemixPlayer allows you to play a single full audio file, multiple full audio files, or multiple excerpts of audio files. Initially created for podcast remixing, RemixPlayer can be used to play podcasts, music, or any audio you please!

Install:
Install from npm:

npm install RemixPlayer

OR install from yarn:

yarn install RemixPlayer

And use in your code:

import { RemixPlayer } from 'RemixPlayer'

Use:
To create an embed in your JavaScript project:

//A remix containing three pieces of a TED Talk with start and end times

const embed = new RemixPlayer([
{title: "TED Talks Daily",
episode: "How to build your confidence -- and spark it in others | Brittany Packnett",
imagesrc: "https://pl.tedcdn.com/rss_feed_images/ted_talks_main_podcast/audio.png",
src: "https://dts.podtrac.com/redirect.mp3/download.ted.com/talks/BrittanyPacknett_2019.mp3?apikey=172BB350-0207&prx_url=https://dovetail.prxu.org/70/fbc865d8-91e5-4ec2-bcd5-2805f84ec092/BrittanyPacknett_2019_VO_Intro.mp3",
start: 104,
end: 133},
{title: "TED Talks Daily",
episode: "How to build your confidence -- and spark it in others | Brittany Packnett",
imagesrc: "https://pl.tedcdn.com/rss_feed_images/ted_talks_main_podcast/audio.png",
src: "https://dts.podtrac.com/redirect.mp3/download.ted.com/talks/BrittanyPacknett_2019.mp3?apikey=172BB350-0207&prx_url=https://dovetail.prxu.org/70/fbc865d8-91e5-4ec2-bcd5-2805f84ec092/BrittanyPacknett_2019_VO_Intro.mp3",
start: 236,
end: 433},
{title: "TED Talks Daily",
episode: "How to build your confidence -- and spark it in others | Brittany Packnett",
imagesrc: "https://pl.tedcdn.com/rss_feed_images/ted_talks_main_podcast/audio.png",
src: "https://dts.podtrac.com/redirect.mp3/download.ted.com/talks/BrittanyPacknett_2019.mp3?apikey=172BB350-0207&prx_url=https://dovetail.prxu.org/70/fbc865d8-91e5-4ec2-bcd5-2805f84ec092/BrittanyPacknett_2019_VO_Intro.mp3",
start: 498,
end: 807}
]);

embed.setup(div);

Where:

  • title — title of the podcast/audio source (e.g. “This American Life”) (required unless using song/artist pairing)
  • episode — episode name of the podcast/audio source (e.g. “Something Only I Can See”) (required unless using song/artist pairing)
  • artist — artist who performs the song/audio source (e.g. Billie Eilish) (required unless using title/episode pairing)
  • song — the title of the song/audio source (e.g. “Bad Guy”) (required unless using title/episode pairing)
  • imagesrc — link to the image for the podcast/audio source (optional)
  • src — link to the audio source (required)
  • start — at what time the audio should start playing in seconds (optional; default: beginning of audio source)
  • end — at what time the audio should stop playing in seconds (optional; default: end of audio source)
  • div — HTML element that the embed should be placed in

Or use as a script tag:

<script src="https://cdn.jsdelivr.net/npm/remixplayer/index.js"></script>

const embed = new RemixPlayer.RemixPlayer([
{title: "TED Talks Daily",
episode: "How to build your confidence -- and spark it in others | Brittany Packnett",
imagesrc: "https://pl.tedcdn.com/rss_feed_images/ted_talks_main_podcast/audio.png",
src: "https://dts.podtrac.com/redirect.mp3/download.ted.com/talks/BrittanyPacknett_2019.mp3?apikey=172BB350-0207&prx_url=https://dovetail.prxu.org/70/fbc865d8-91e5-4ec2-bcd5-2805f84ec092/BrittanyPacknett_2019_VO_Intro.mp3",
start: 104,
end: 133},
{title: "TED Talks Daily",
episode: "How to build your confidence -- and spark it in others | Brittany Packnett",
imagesrc: "https://pl.tedcdn.com/rss_feed_images/ted_talks_main_podcast/audio.png",
src: "https://dts.podtrac.com/redirect.mp3/download.ted.com/talks/BrittanyPacknett_2019.mp3?apikey=172BB350-0207&prx_url=https://dovetail.prxu.org/70/fbc865d8-91e5-4ec2-bcd5-2805f84ec092/BrittanyPacknett_2019_VO_Intro.mp3",
start: 236,
end: 433},
{title: "TED Talks Daily",
episode: "How to build your confidence -- and spark it in others | Brittany Packnett",
imagesrc: "https://pl.tedcdn.com/rss_feed_images/ted_talks_main_podcast/audio.png",
src: "https://dts.podtrac.com/redirect.mp3/download.ted.com/talks/BrittanyPacknett_2019.mp3?apikey=172BB350-0207&prx_url=https://dovetail.prxu.org/70/fbc865d8-91e5-4ec2-bcd5-2805f84ec092/BrittanyPacknett_2019_VO_Intro.mp3",
start: 498,
end: 807}
]);

embed.setup(div);

Examples

//An example of playing a single, full audio file
//Plays one full TED Talk
const embed = new RemixPlayer([
{title: "TED Talks Daily",
episode: "How to build your confidence -- and spark it in others | Brittany Packnett",
imagesrc: "https://pl.tedcdn.com/rss_feed_images/ted_talks_main_podcast/audio.png",
src: "https://dts.podtrac.com/redirect.mp3/download.ted.com/talks/BrittanyPacknett_2019.mp3?apikey=172BB350-0207&prx_url=https://dovetail.prxu.org/70/fbc865d8-91e5-4ec2-bcd5-2805f84ec092/BrittanyPacknett_2019_VO_Intro.mp3",
}
]);

embed.setup(div);


//An example of playing multiple, full audio files
//Plays two full TED Talks in a row
const embed = new RemixPlayer([
{title: "TED Talks Daily",
episode: "How to build your confidence -- and spark it in others | Brittany Packnett",
imagesrc: "https://pl.tedcdn.com/rss_feed_images/ted_talks_main_podcast/audio.png",
src: "https://dts.podtrac.com/redirect.mp3/download.ted.com/talks/BrittanyPacknett_2019.mp3?apikey=172BB350-0207&prx_url=https://dovetail.prxu.org/70/fbc865d8-91e5-4ec2-bcd5-2805f84ec092/BrittanyPacknett_2019_VO_Intro.mp3",
}
{title: "TED Talks Daily",
episode: "Do schools kill creativity? | Sir Ken Robinson",
imagesrc: "https://pl.tedcdn.com/rss_feed_images/ted_talks_main_podcast/audio.png",
src: "https://dts.podtrac.com/redirect.mp3/download.ted.com/talks/SirKenRobinson_2006.mp3?apikey=172BB350-0207&prx_url=https://dovetail.prxu.org/70/01928baa-ce0b-4664-a8a6-10ccfe65599f/SirKenRobinson_2006_VO_Intro.mp3",
}
]);

embed.setup(div);

Styling:

| Function Name | Effect | Arguments | | ------------------- | ----------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | | .buttons() | Updates the styling of the buttons in the embed | A dictionary of css style properties (camelCased) keys and the value to update them to (e.g. {backgroundColor: “#1271f5”, height: “3px”} | | .title() | Updates the styling of the title in the embed (h3) | A dictionary of css style properties (camelCased) keys and the value to update them to (e.g. {backgroundColor: “#1271f5”, height: “3px”} | | .segment() | Updates the styling of the segment numbers in the embed (h5) | A dictionary of css style properties (camelCased) keys and the value to update them to (e.g. {backgroundColor: “#1271f5”, height: “3px”} | | .excerpt() | Updates the styling of “excerpted from” in the embed (h5) | A dictionary of css style properties (camelCased) keys and the value to update them to (e.g. {backgroundColor: “#1271f5”, height: “3px”} | | .image() | Updates the styling of the images in the embed (img) | A dictionary of css style properties (camelCased) keys and the value to update them to (e.g. {backgroundColor: “#1271f5”, height: “3px”} | | .timestamp() | Updates the styling of the timestamps in the embed (h6) | A dictionary of css style properties (camelCased) keys and the value to update them to (e.g. {backgroundColor: “#1271f5”, height: “3px”} | | .slider() | Updates the styling of the audio slider in the embed (input) | A dictionary of css style properties (camelCased) keys and the value to update them to (e.g. {backgroundColor: “#1271f5”, height: “3px”} | | .dropDownTitle() | Updates the styling of the title in the dropdown (h3) | A dictionary of css style properties (camelCased) keys and the value to update them to (e.g. {backgroundColor: “#1271f5”, height: “3px”} | | .dropDownSegment() | Updates the styling of the segment numbers in the dropdown (h4) | A dictionary of css style properties (camelCased) keys and the value to update them to (e.g. {backgroundColor: “#1271f5”, height: “3px”} | | .dropDownImage() | Updates the styling of the images in the dropdown (img) | A dictionary of css style properties (camelCased) keys and the value to update them to (e.g. {backgroundColor: “#1271f5”, height: “3px”} | | .containerDiv() | Updates the styling of the div containing the embed (div) | A dictionary of css style properties (camelCased) keys and the value to update them to (e.g. {backgroundColor: “#1271f5”, height: “3px”} | | .dropDownListItem() | Updates the styling of each segment div within the dropdown (div) | A dictionary of css style properties (camelCased) keys and the value to update them to (e.g. {backgroundColor: “#1271f5”, height: “3px”} | | .dropDown() | Updates the styling of the div containing the dropdown (div) | A dictionary of css style properties (camelCased) keys and the value to update them to (e.g. {backgroundColor: “#1271f5”, height: “3px”} |

Licensing
RemixPlayer is licensed under the MIT License.