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 🙏

© 2025 – Pkg Stats / Ryan Hefner

milli-vanilli

v1.1.1

Published

Simple express app that will provide responses that look like they are coming from other services like SETI and Nomic.

Downloads

7

Readme

The QA instances of some services can tend to be less than reliable. The problem is that we rely on these services for our integration tests to pass and are often left waiting for retry after retry for integration tests to pass due to the flaky nature of these services. Blame it on the rain?

This project is a super simple way to return mock responses for such services. The initial implementation includes some basic SETI and Nomic responses and these will grow over time.

In addition, milli-vanilli can act as a high-level mock for top-level services like Topper Harley.

To Set It Up

nvm use
npm install
node start

This will start milli-vanilli listening on port 3456. You know it's true.

Once it is running you can make requests in this form:

http://localhost:3456/nomic/v1/accounts/507017973001/policy_keys

http://localhost:3456/seti/v1/accounts/507017973001/settings/account/product_type

http://localhost:3456/topperharley/v2/accounts/507017973001/players/DOES-NOT-EXIST

SETI I'm gonna miss you.

Advanced Awesomeness

You can also globally link the package:

npm link

And then you can start a server in any shell:

milli-vanilli

When working with Topper Harley you can set the following to have milli-vanilli used instead of the specified services.

export FAKE_CATHY_URL=http://localhost:3456/cathy
export FAKE_CMS_URL=http://127.0.0.1:3456/cms
export FAKE_NOMIC_URL=http://127.0.0.1:3456/nomic
export FAKE_SETI_URL=http://127.0.0.1:3456/seti

When working with projects using Topper Harley's internal access as a dependency make the following override:

export TOPPER_HARLEY_INTERNAL_BASE_URL=http://127.0.0.1:3456/topperharley

To Create a Tag, a Docker Image, and Deploy

cd milli-vanilli

npm version major|minor|patch

git push --tags origin master

docker build -t user/$USER/milli-vanilli:${git describe} .

aws --profile bc-deploys-ecr ecr get-login --registry-ids 286457800582 --no-include-email --region us-east-1

docker tag user/$USER/milli-vanilli:${git describe} 286457800582.dkr.ecr.us-east-1.amazonaws.com/players/milli-vanilli:${git describe}

docker push 286457800582.dkr.ecr.us-east-1.amazonaws.com/players/milli-vanilli:${git describe}

Then, make sure to modify all the services that utilize the module.