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

@upstash/search-migrator

v0.1.1

Published

CLI tool to migrate data to Upstash Search

Readme

Upstash Search Migrator CLI

A command-line tool to migrate your data from an Algolia or Meilisearch index to an Upstash Search index.

Getting Started

You can run the CLI directly using npx without any installation, which ensures you are always using the latest version.

Using npx

npx @upstash/search-migrator

Usage

The CLI can be run by passing command-line flags; otherwise, those credentials will be asked in the CLI.

Interactive Mode

Simply run the command without any flags to be guided through the migration process with interactive prompts.

npx @upstash/search-migrator

Using Flags

You can also provide your credentials and other information as command-line flags.

Algolia to Upstash

npx @upstash/search-migrator \
  --upstash-url "YOUR_UPSTASH_URL" \
  --upstash-token "YOUR_UPSTASH_TOKEN" \
  --algolia-app-id "YOUR_ALGOLIA_APP_ID" \
  --algolia-api-key "YOUR_ALGOLIA_WRITE_API_KEY"

Meilisearch to Upstash

npx @upstash/search-migrator \
  --upstash-url "YOUR_UPSTASH_URL" \
  --upstash-token "YOUR_UPSTASH_TOKEN" \
  --meilisearch-host "YOUR_MEILISEARCH_HOST" \
  --meilisearch-api-key "YOUR_MEILISEARCH_API_KEY"

Obtaining Credentials

Upstash

  1. Go to your Upstash Console.
  2. Select your Search index.
  3. Under the Details section, you will find your UPSTASH_SEARCH_REST_URL and UPSTASH_SEARCH_REST_TOKEN.
    • --upstash-url corresponds to UPSTASH_SEARCH_REST_URL.
    • --upstash-token corresponds to UPSTASH_SEARCH_REST_TOKEN.

Algolia

  1. Go to your Algolia Dashboard.
  2. Navigate to Settings > API Keys.
  3. You will find your Application ID here. This is your --algolia-app-id.
  4. For the API key (--algolia-api-key), you need a key with write permissions for your indices. You can use your Write API Key or create a new one with the necessary permissions.

Meilisearch

  1. Go to your Meilisearch Console.
  2. Find your Meilisearch deployment and copy the Host URL and API Key.
  • --meili-host corresponds to your Meilisearch instance URL (e.g., https://ms-xxxxxx.meilisearch.io).
  • --meili-api-key corresponds to your Meilisearch API key.