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

yaakdoc-theme-winxp

v0.3.0

Published

A Windows XP Luna inspired theme for yaakdoc.

Readme

yaakdoc-theme-winxp

A yaakdoc theme inspired by the Windows XP Luna visual style.

The winxp theme with the Luna Blue scheme

DEMO: https://yaakdoc-theme-winxp.vercel.app

Installation

npm i -D yaakdoc yaakdoc-theme-winxp

Then set the theme in yaakdoc.config.json:

{
  "theme": "winxp"
}

Options

{
  "theme": "winxp",
  "themeOptions": {
    "scheme": "blue",
    "codePanel": "right",
    "sidebarWidth": "17rem",
    "navOpenDepth": 1,
    "showEnvironment": true,
    "windowControls": true
  }
}

| Option | Default | Description | | --- | --- | --- | | scheme | "blue" | Luna color scheme for light mode: "blue", "olive" or "silver". Dark mode always uses Royale Noir. | | codePanel | "right" | "right" puts code examples in a sticky column on wide screens. "inline" puts them below each request. | | sidebarWidth | "17rem" | Width of the task pane (any CSS length). | | navOpenDepth | 1 | Folder levels expanded in the navigation by default. Folders containing the current page always open. | | showEnvironment | true | Show the environment used for the examples in the toolbar. | | windowControls | true | Show the decorative minimize, maximize and close buttons in the title bar. |

Pages, tabs and search

  • Tabs. With several navigation tabs, they're shown in a menu bar under the title bar, and the task pane shows the current tab.
  • Groups. Top-level groups are task groups in the task pane. Nested groups are folders in the tree.
  • Pages. Custom pages get the same heading as the overview, and wizard-style "< Back" and "Next >" buttons at the bottom.
  • Icons. icon on pages, groups and tabs takes a Lucide icon name, such as book-open or key-round. The theme draws its own XP-style icons, so names are matched by their words (key, book, terminal, history, house, folder, list, globe, ...), and other names get a document icon.
  • Example responses. Each response is a tab in an "Example response" window. Response headers written at the top of a ```response block are listed above the body.
  • Search. Press Cmd+K / Ctrl+K or /, or use the search box in the task pane or the Search button in the toolbar. With "search": false, the task pane shows a filter instead.

Customizing

  • Colors. branding.colors.primary replaces the scheme's link and selection color, and branding.colors.accent replaces the color of hovered task pane links.
  • Logo. The logo is shown in the title bar, next to the site title, at branding.logo.height (18 px by default, at most 22 px so it fits the title bar). branding.logo.showTitle: false hides the title.
  • Fonts. The theme uses system fonts: Tahoma and Trebuchet MS for the UI, and Lucida Console for code. Other fonts are used where those aren't installed. branding.fonts overrides them.
  • Color mode. Light mode uses the chosen Luna scheme, and dark mode uses Royale Noir. branding.defaultColorMode and branding.colorModeToggle work as usual. The toggle is a sun/moon button in the toolbar. Per-mode branding colors (branding.colors.light / .dark) apply to each mode.
  • Everything else. Use branding.customCss, or run npx yaakdoc eject to copy the theme into your project.

Development

pnpm install
pnpm dev           # dev server for the example docs in ./example
pnpm build         # static build of the example into ./example/dist
pnpm check-types
pnpm lint

Disclaimer

This project isn't affiliated with or endorsed by Microsoft. Windows and Windows XP are trademarks of Microsoft Corporation. The theme recreates the look of the Luna visual style with original CSS and SVG artwork and contains no Microsoft assets.

License

MIT