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

varvara-typedoc-theme

v0.3.9

Published

Varvara theme for TypeDoc.

Downloads

213

Readme

Varvara 🤦‍♀️ TypeDoc Theme

View a live example here.

Varvara TypeDoc Theme is a custom theme for TypeDoc, designed to provide a seamless documentation experience for TypeScript projects.

NPM Version GitHub License TypeDoc

Dark example

Light example

[!TIP] The theme is fully customizable 🚀.

Installation

Ensure TypeDoc is installed in your project.

Install the Varvara TypeDoc theme as a development dependency:

npm install varvara-typedoc-theme --save-dev

Usage

Method 1: Command-Line Interface (CLI)

Use the following command to generate documentation with the Varvara theme:

npx typedoc --plugin varvara-typedoc-theme --theme varvara-css src/index.ts

Method 2: Configuration File

Create a typedoc.mjs configuration file in your project's root directory:

[!NOTE] You can use various TypeDoc configuration files to customize your documentation generation.

/** @type {Partial<import("typedoc").TypeDocOptions>} */
const config = {
  // Specify the Varvara theme plugin
  plugin: ['varvara-typedoc-theme'],

  // Set the theme to Varvara
  theme: 'varvara-css',

  // Optional: Include version information
  includeVersion: true,

  // Optional: Include groups
  navigation: {
    includeGroups: true
  }

  // Additional TypeDoc configuration options
  // ... other options as needed
}

export default config

[!IMPORTANT] The theme must be explicitly specified. If not set, the plugin will not be loaded by default.

Customization

View a live customised example here.

Add custom styling by specifying an extra CSS file using the customCss option:

npx typedoc --customCss ./styles/custom.css

Varvara CSS provides variables to customize the theme appearance:

/* custom.css */

@media (prefers-color-scheme: light) {
  :root {
    --va-foreground-color-default: DimGray;
    --va-background-color-default: WhiteSmoke;
    --va-border-color: Gainsboro;
    --va-space-ratio: 0.5;
  }
}
@media (prefers-color-scheme: dark) {
  :root {
    --va-foreground-color-default: Silver;
    --va-background-color-default: MidnightBlue;
    --va-border-color: RoyalBlue;
    --va-space-ratio: 0.5;
  }
}

[data-theme='light'] {
  --va-foreground-color-default: DimGray;
  --va-background-color-default: WhiteSmoke;
  --va-border-color: Gainsboro;
  --va-space-ratio: 0.5;
}

[data-theme='dark'] {
  --va-foreground-color-default: Silver;
  --va-background-color-default: MidnightBlue;
  --va-border-color: RoyalBlue;
  --va-space-ratio: 0.5;
}

See the documentation for the complete list of available properties.

Contributing

Feel free to explore, test, and provide feedback. Your contribution is highly appreciated as we work towards improving and stabilizing the project.

License

This project is licensed under the MIT License.