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

dumpert.js

v0.1.0

Published

Unofficial dumpert API wrapper

Readme

Dumpert.js

Unofficial API wrapper in javascript using the mobile Dumpert API.

Documentation

Functions

getTrendingItems()

These items are from the slider at the frontpage of the Dumpert app. Returns an array of item objects.

dumpert.getTrendingItems(function(error, items) {
    if(!error){
        console.log("\nCurrent popular items on dumpert: ");
        items.forEach(function(el, i) {
            console.log("[" + (i + 1) + "]" + el.title + " - " + el.description);
        });
    }
});

getLatestItems()

Gets the latest uploaded items. Returns an array of item objects.

dumpert.getLatestItems(0, function(error, items) {
    console.log("\nLatest items on dumpert: ");
    items.forEach(function(el, i) {
        console.log("[" + (i + 1) + "]" + el.title + " - " + el.description);
    });
});

getLatestVideos()

Gets the latest uploaded videos. Returns an array of item objects.

dumpert.getLatestVideos(0, function(error, items) {
    console.log("\nLatest videos on dumpert: ");
    items.forEach(function(el, i) {
        console.log("[" + (i + 1) + "]" + el.title + " - " + el.description);
    });
});

getLatestPhotos()

Gets the latest uploaded photos. Returns an array of item objects.

dumpert.getLatestPhotos(0, function(error, items) {
    console.log("\nLatest items on dumpert: ");
    items.forEach(function(el, i) {
        console.log("[" + (i + 1) + "]" + el.title + " - " + el.description);
    });
});

setUserAgent()

Changes the UserAgent for the requests, this is by default an iPhone running iOS 8 with the app version 2.1.1 Dumpert/2.1.1 (iPhone; iOS 8.3; Scale/2.00)

dumpert.setUserAgent("Dumpert/2.1.1 (iPhone; iOS 9.3; Scale/2.00)");

createDumpertURL()

Creates an url to dumpert.nl with the ID.

dumpert.createDumpertURL("6742471_f9f5b02b");

Objects

Item

  • id: Identifier of the video
  • date: Publish date in format 2016-03-24T13:51:02+01:00
  • title: Title of the vid
  • description: Description of the video
  • media: See Media Objects
  • nsfw: boolean on whether the content is NSFW
  • stats: Object with stats of the media
    • kudos_today: The amount of kudos from today
    • kudos_total: The amount of kudos from every day
    • views_today: The amount of views from today
    • views_total: The amount of views from every day
  • still: Thumbnail
  • thumbnail Slightly different thumbnail..
  • tags: Tags split by a space

Media

  • duration: Duration of the video in seconds
  • mediatype: VIDEO for video, FOTO for image
  • variants: Array of variants of the media

Official stuff

I do not recommend using this API for production purposes. I created this purely for educational purposes. Using the API is probably against the EULA. Software provided "AS IS", use it at your own risk.

If you're tmg, a geenstijl employee or joris, and you are really pissed because I am reverse engineering your app and creating this, mail me at [email protected].