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

@sovereign-sdk/indexer

v0.4.19

Published

A simple indexer for Sovereign SDK rollups

Readme

@sovereign-sdk/indexer

An extendable indexer for Sovereign SDK rollups written in TypeScript.

Running

With your database accessible & rollup running the indexer can be started like so:

DATABASE_URL="postgres://YOUR_DB_STRING" npx @sovereign-sdk/indexer --rollup-url http://localhost:12346

Database Setup

The indexer expects the database to have the events table structure as defined in db/create_events_table.sql. This table is used to store rollup events with their associated metadata, timestamps, and payload information.

Currently this package doesn't perform migration management or have any extra opinions about database schema so it can potentially connect to existing databases, this might change in the future though.

Local development

For local development of your rollup+application you might want to have the indexer run against a local postgres database, the following section provides instructions on how to do this.

Prerequisites

  • Docker installed on your system
  • Docker daemon running

Setup Steps

  1. Pull the official Postgres Docker image:
docker pull postgres
  1. Create and start a Postgres container:
docker run --name sov-indexer-db \
  -e POSTGRES_PASSWORD=admin123 \
  -d \
  -p 5432:5432 \
  postgres

Note: If you change the password, make sure to update it in the dev npm script connection string as well.

  1. Verify the container is running:
docker ps
  1. If you need to start an existing container later:
docker start sov-indexer-db
  1. Initialize the database schema:
docker exec -i sov-indexer-db psql -U postgres < ./db/create_events_table.sql

Connection Details

  • Host: localhost
  • Port: 5432
  • Username: postgres
  • Password: admin123
  • Database: postgres

Useful Docker Commands

Stop the container:

docker stop sov-indexer-db

Remove the container (will delete all data):

docker rm sov-indexer-db

View container logs:

docker logs sov-indexer-db