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

soames-gatsby-theme

v0.1.22

Published

A customizable Gatsby theme for personal websites using WordPress as a headless CMS.

Readme

npm version license

A customizable Gatsby theme for building personal websites using WordPress as a headless CMS. Built with TypeScript for better DX and safety.

Install Instructions

npm install soames-gatsby-theme

WordPress Preview Setup

Soames supports previewing draft posts and pages directly from the WordPress admin, and fixes the "View Post" / "View Page" links that would otherwise land on the home page.

Requirements

  1. WP Gatsby plugin — install WP Gatsby on your WordPress backend. This plugin intercepts the Preview button and redirects to the Gatsby /preview/ page with a short-lived auth token.
  2. WPGraphQL — already required by gatsby-source-wordpress, so this should already be active.

WP Gatsby configuration

In the WP Gatsby settings in WordPress admin:

  • Frontend URL — set to your Gatsby site's public URL (e.g. https://yoursite.com)

That's it. WP Gatsby will redirect Preview clicks to https://yoursite.com/preview/?id=<id>&type=<post|page>&token=<token>. The Soames theme handles the rest.

How it works

  • Preview — the /preview/ page fetches draft content from the WordPress GraphQL endpoint using the token supplied by WP Gatsby, then renders it using the same layout as the published version.
  • View Post — a redirect is generated at build time from the WordPress permalink (e.g. /2024/01/my-post/) to the Gatsby blog path (e.g. /blog/2024/01/my-post/).
  • View Page — WordPress pages are already served at their WordPress URI, so no redirect is needed.

Preview requires the editor to be logged into WordPress in the same browser session. The token expires shortly after being generated; if the preview page shows an error, click Preview again in WordPress admin.


Known Security Notices

After installation, npm audit will report a number of vulnerabilities. All remaining issues fall into two categories:

Gatsby dev-server tooling — packages used only during local development (gatsby develop) and not included in the production static build:

  • cookie, path-to-regexp — used by express and socket.io for Gatsby’s hot-reloading dev server
  • @parcel/reporter-dev-server — Gatsby’s internal build tooling
  • webpack, serialize-javascript — bundler used at build time, not present in the output
  • tmp — used by CLI tooling (inquirer) internal to Gatsby’s dependency tree

Build-time data-fetching dependencies — packages used to pull content from WordPress at build time and not included in the deployed site:

  • showdown — pulled in by @wordpress/blocks for block rendering; no upstream fix available as of this version
  • file-type, uuid — used by gatsby-source-wordpress for media processing and internal queuing

Gatsby generates static HTML, CSS, and JS files. None of the packages above are included in your deployed site or exposed to end users.

These issues cannot be resolved without breaking changes to core Gatsby dependencies and will be addressed in future versions as Gatsby and its plugins are updated. You can safely ignore these warnings unless you are modifying or redistributing the Gatsby development tooling itself.