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

aiida-explorer

v0.3.7

Published

[![NPM Version](https://img.shields.io/npm/v/aiida-explorer)](https://www.npmjs.com/package/aiida-explorer)

Readme

AiiDA provenance explorer

NPM Version

A React component to explore AiiDA provenance built on top of the AiiDA REST API.

The tool allows you to explore the graph of nodes, view detailed metadata, and track node visits with interactive breadcrumbs.

This repository contains

  1. the AiidaExplorer component (library), which is also published to npm; and
  2. a demo page illustrating the usage, which is deployed to github pages (https://aiidateam.github.io/aiida-explorer/). This also allows to directly explore your local AiiDA database (using verdi restapi), but might depend on the browser security settings (confirmed working with Firefox).

Main features include:

  • Interactive graph view of nodes and their relationships.
  • Single click selects a node to show details in a sidebar.
  • Double click refocuses the graph on a node, fetching additional metadata (attributes, comments, extras).
  • Breadcrumb trail tracks visited nodes, clickable for quick navigation.
  • Nodes styled by type (process, data, etc.) with clear selection highlighting.

Installation and usage

Install via

npm install aiida-explorer

And use with the following:

import { AiidaExplorer } from "aiida-explorer";

...
<AiidaExplorer restApiUrl={AIIDA_REST_URL} />
...

where restApiUrl is the base url of the AiiDA REST API, e.g. http://localhost:5000/api/v4 if started locally via verdi restapi. For more details see the source code of the demo page.

One can also manage the rootNode state outside the component (e.g. to sync with URL parameters), then one should use

<AiidaExplorer
  restApiUrl={AIIDA_REST_URL}
  rootNode={rootNode}
  onRootNodeChange={onRootNodeChange}
/>

Development

We use the prefix ae to isolate tailwind classes (ae:bg-slate-50).

Using the demo page

For development, start the demo page by

npm install
npm run dev

Building the library and testing locally

To build the component library and test locally in an external application (e.g. before publishing to npm), use

npm run build:lib
npm pack

which will create a .tgz file that can then be installed by the external application via

npm install /path/to/aiida-explorer-x.y.z.tgz

Publishing a new version of the library on npm

To make a new version and publish to npm via GitHub Actions:

npm version [major|minor|patch]
git push --follow-tags

(Note: no need to write the version number manually!)

Deploying the demo page to github-pages

The demo page is deployed to Github pages automatically from the main branch.

Additionally, any pull request gets deployed in it's own subpath as well.

Manual deployment to Github pages should not be done, as that might break any PR previews.

Notes

  • An initial prototype of this tool was created by Sharan Poojari during Google Summer of Code 2024 (see the final report).