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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@gobstones/typedoc-theme-gobstones

v0.3.1

Published

A simple theme for the Gobstones generated documentation.

Downloads

15

Readme

typedoc-theme-gobstones

This a customized theme for TypeDoc used for all the generated documentation throughout the GobstonesWeb2 project. It's based on the default theme used by TypeDoc, with mild improvements in readability and styling, and includes by default several plugins built-in so the user does not require to include them in their configuration. Included plugins are:

Licence Version

API Docs

GitHub Workflow Tests GitHub Workflow Build

Install

This library is included in the gobstones-scripts library, and used in the provided TypeDoc configuration by default. If you are using gobstones-scripts you don't need to do anything to use this library.

If you want to add this to a project that does not include gobstones-scripts, just install by using npm.

npm install @gobstones/typedoc-theme-gobstones

Usage

Again, if you are using gobstones-scripts with the default configuration you don't need to do anything. If you want to use in different type of project, or provide your custom configuration, read the following.

Configure your project to use this theme by editing your typedoc.config.js file. Add the theme as a plugin, and set the theme to be gobstones. Additionally, configure properties for the default theme and plugins so the theme behaves as expected.

module.exports = {
    // ...
    // You default configuration before this point
    plugin: [
        // ...
        // Set up the theme, alongside your other plugins
        '@gobstones/typedoc-theme-gobstones'
    ],
    excludeTags: [
        // Remove the @internal from the excluded tags
        '@override',
        '@virtual',
        '@satisfies',
        '@overload'
    ],
    visibilityFilters: {
        // Add @internal as a visibility filter
        '@internal': false,
        protected: false,
        private: false,
        inherited: false
    },
    // Set `gobstones` as the theme
    theme: 'gobstones',
    // Configure the merge modules strategy as a module or module-category
    mergeModulesMergeMode: 'module'
};

You should now be able to run typedoc command to get the documentation. If you are using gobstones-scripts, just execute nps start doc or one of it's related commands as usual.

Testing newer versions of the library

To develop this library you will need to build the library and publish to a local repository, similar as to how you test gobstones-scripts. You may read about how to setup a verdaccio server in your local environment at the gobstones-scripts documentation, and if you have the gobstones-scripts project, you may even run the same server.

Contributing

See our Contributions Guidelines to contribute.