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

@bedrock-core/guides

v0.1.0

Published

In-game guide screens for @bedrock-core/ui — renders MDX guides compiled by the guides regolith filter

Readme

@bedrock-core/guides

Logo

Docusaurus-style in-game guides for @bedrock-core/ui. You author MDX, the guides Regolith filter compiles it at build time, and this package renders the result as server forms — index, pages, prev/next, admonitions and all, with the prose localized per player language.

packs/data/guides/<locale>/**.mdx
      │  guides regolith filter
      ├─→ RP/texts/<locale>.lang            (auto-localized prose — the client resolves it)
      └─→ @bedrock-core/generated/guides    (manifest: sidebar tree, pages, prev/next)
                │
                ▼  this package
      createGuide(manifest) → self-contained <Guide/>

Install

yarn add @bedrock-core/guides
regolith install github.com/bedrock-core/regolith-filters/guides

It also ships inside the umbrella package as @bedrock-core/ui/guides. Run the guides filter before i18n so the generated keys land in the same .lang files and runtime bundle.

What it gives you

  • createGuide(manifest, { title?, components? }) — a self-contained guide component that owns its own home ⇆ page navigation, so the host only needs one screen for it
  • Blocks that render themselves — headings, paragraphs with inline links, bullet and numbered lists, images sized from compile-time dimensions, admonitions, and code blocks
  • Your own components in the prose<Component /> in MDX resolves against the components registry you pass
  • A visual index — categories become section headers, pages become icon rows with an optional thumbnail and subtitle from frontmatter; a single-page guide skips the index entirely
  • GuideBlockList for rendering the raw block IR under a custom layout, isGuideManifest for validating a manifest that arrived over replicated state, and the IR types for code that builds a manifest without the filter

Usage

/** @jsxImportSource @bedrock-core/ui */
import { createGuide } from '@bedrock-core/guides';
import manifest from '@bedrock-core/generated/guides';
import type { ScreenProps } from '@bedrock-core/navigation';
import type { JSX } from '@bedrock-core/ui';
import type { AppRoutes } from './routes'; // your own route map

// Build ONCE per manifest and cache it — the returned component holds the open-page
// state, so recreating it on each render resets the guide to its home.
const Guide = createGuide(manifest, { title: 'My Addon' });

export function GuideScreen({ navigation }: ScreenProps<AppRoutes, 'Guide'>): JSX.Element {
  return <Guide onExit={(): void => navigation.goBack()} />;
}

onExit fires when the player leaves from the guide's home screen; the header's × closes the whole UI via useExit. Serving several addons? Call createGuide once per manifest, cache each by addon id, and render the one your route's param selects.

Documentation

  • guidescreateGuide, the block set, custom components, the manifest shape, publishing a guide cross-addon, and the API reference
  • guides Regolith filter — authoring, folder layout, frontmatter, the localization model and the filter settings

License

MIT — see the root repository.