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

flowerpicker

v2.1.0

Published

Data scraper for a certain rhythm game website

Readme

FlowerPicker

This project is for getting information from a rhythm game website.

[!WARNING] PLEASE be sure to respect ratelimits when using this package!! I am not responsible for any accidental misuse nor anything that may result from the use of FlowerPicker.

Getting Started

Below is some example code with their explanations to get started:

import FlowerPicker, { convert, convertTypes, errorTypes, scorelogJsonTypes } from "flowerpicker";
import fs from 'fs';

// The constructor has 2 parameters: The url to the server dashboard, and your cookie to said dashboard
const SESSION_COOKIE = "service_session=abc123";
const picker = new FlowerPicker('https://server.link', SESSION_COOKIE);

try {
    // This verifies the validity of your session cookie and throws an error if it's invalid
    await picker.setup();
} catch (e) {
    if (e instanceof errorTypes.InvalidSessionCookieError) {
        console.error("Invalid session cookie provided, please check it and try again.");
    }
};

// Get all jubeat scores for profile ID 12345678 between when this is run and January 1st 2026
const scores: scorelogJsonTypes.JubeatDataRawJSON[] = await picker.getScoreLog("jubeat", "12345678", {
    fetchDownTo: new Date("2026-01-01T00:00:00Z").getTime(), // This field is not required! Not putting it will simply fetch all the scores for that user
});
console.log(`Fetched ${scores.length} scores.`);

// To convert an export to a tachi-compatible JSON, you can use the convert module
const convertedJubeat: convertTypes.BatchManualJSONJubeat = await convert.jubeatToTachiCompat(scores, {
    service: "FlowerPicker",
});

// Then feel free to do whatever you want with it!
fs.writeFileSync(`./jubeat-scorelog-tachi.json`, JSON.stringify(convertedJubeat, null, 4), 'utf-8');

Game Support

The following games may not be updated by me, PRs may be reviewed and accepted

| Game | Score Log | Tachi Export | | :------------------------------ | :-------: | :----------: | | Jubeat | ✅ | ✅ | | pop'n music | ✅ | ✅ | | MÚSECA | ✅[^1] | ✅ | | GITADORA | ✅ | ✅ | | DanceDanceRevolution | ✅ | ✅ | | Sound Voltex | ❌ | ❌ | | beatmania IIDX | ❌ | ❌ | | NOSTALGIA | ✅ | - | | Polaris Chord | ✅ | - | | REFLEC BEAT | ❌ | - | | DANCERUSH STARDOM | ❌ | - | | PASELI Charging Machine (Soon™️) | ❌ | ❌ |

[^1]: Does not get the graficas from a mission, otherwise gets everything else

The following games will most likely never be supported by me (If they even can be)

  • BeatStream

[!NOTE] This package was made in mind for the non US version of the server/dashboard. If you try to use this package for the US server, you may run into issues!