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

gitbook-plugin-theme-d4t-tsingley

v1.0.7

Published

A standard theme for gitbook.

Downloads

6

Readme

说明

基于door的二次开发,主要开发内容如下:

  • 完善book.json
  • 增加移动端适配
  • 更新目录栏追随和多级目录栏
  • 增加了菜单栏滚动和目录栏滚动

gitbook-plugin-theme-d4t

含有Header导航,Sidebar导航以及MiniMap导航的gitbook主题。

主题样式

主题样式

使用方式

编写book.json文件如下

{
    "title": "d4m1ts 知识库",
    "author": "d4m1ts",
    "description": "个人的部分知识技能,倾向于使用知识库的方式进行总结回顾自己",
    "theme-default":
    {
        "showLevel": true
    },
    "plugins":
    [
        "splitter",
        "hide-element",
        "code",
        "theme-d4t-tsingley",
        "-lunr",
        "-search",
        "-sharing",
        "search-pro-fixed",
        "-highlight",
        "chapter-fold",
        "expandable-chapters",
        "lightbox",
        "donate",
        "tbfed-pagefooter",
        "github",
        "flexible-alerts",
        "prism",
        "back-to-top-button",
        "auto-scroll-table"
    ],
    "variables":
    {
        "d4t-tsingley":
        {
            "nav":
            [
                {
                    "url": "https://markdown.gm7.org/",
                    "target": "_blank",
                    "name": "markdown在线"
                },
                {
                    "url": "https://rshell.gm7.org/",
                    "target": "_blank",
                    "name": "Reverse Shell Generator"
                }
            ]
        }
    },
    "pluginsConfig":
    {
        "hide-element":
        {
            "elements":
            [
                ".gitbook-link",
                ".title",
                ".treeview__copyright",
                ".treeview__main-title"
            ]
        },
        "d4t-tsingley":
        {
            "search-placeholder": "请输入关键字搜索",
            "logo": "/README.assets/logo.svg",
            "favicon": "/README.assets/favicon.ico"
        },
        "donate":
        {
            "wechat": "/README.assets/gzh_0.png",
            "alipay": "/README.assets/gzh_1.png",
            "title": "",
            "button": "支持作者",
            "alipayText": "点点广告🙏",
            "wechatText": "关闭Adblock"
        },
        "tbfed-pagefooter":
        {
            "copyright": "Copyright &copy d4m1ts 2023",
            "modify_label": "该文章修订时间:",
            "modify_format": "YYYY-MM-DD HH:mm:ss"
        },
        "github":
        {
            "url": "https://github.com/damit5"
        },
        "flexible-alerts":
        {
            "style": "callout",
            "comment":
            {
                "label": "Comment",
                "icon": "fa fa-comments",
                "className": "info"
            }
        },
        "prism":
        {
            "css":
            [
                "prismjs/themes/prism-tomorrow.css"
            ],
            "lang":
            {
                "flow": "typescript"
            },
            "ignore":
            [
                "mermaid",
                "eval-js",
                "ascii",
                "result",
                "manifest",
                "payload",
                "google",
                "tree",
                "java_out",
                "log4j2",
                "jsp",
                "class",
                "Exception",
                "stack",
                "c#",
                "xml-dtd",
                "C++",
                "twig",
                "jinja2",
                "exception",
                "tpl"
            ]
        }
    }
}

安装启动

gitbook install
gitbook serve