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

dockit-cli

v0.9.0

Published

Dockit TypeScript Markdown documentation generator

Downloads

332

Readme

Dockit

Project Status: Active – The project has reached a stable, usable state and is being actively developed.

| Package | Link | | :-------------------- | :------------------------------------------------------------------------------------------------------------------------- | | dockit-cli (.NET CLI) | NuGet dockit-cli | | dockit-cli (NPM CLI) | NPM dockit-cli |


What is this?

Dockit is an automatic Markdown documentation generator. This repository contains:

  • a .NET generator for assemblies and XML documentation metadata
  • a TypeScript generator for npm projects using the TypeScript compiler API

The advantage of Dockit is that it generates the document once in Markdown format and then uses Pandoc to generate the document from Markdown. This allows you to target a variety of output formats.

It is also much simpler to manage than other solutions, as you simply install NuGet and it automatically generates the documentation for you.


Install

TypeScript / JavaScript

Install the NPM package via npmjs:

npm install -g dockit-cli

Usage

TypeScript / JavaScript

The TypeScript generator accepts a package root path and an output directory:

dockit-ts [options] <project-path> <output-directory>

Available options:

  • -h, --help: Show usage help.
  • -l VALUE, --initial-level=VALUE: Set the base heading level of the generated Markdown. The default is 1.
  • -e VALUE, --entry=VALUE: Add a source entry point. Can be specified multiple times.
  • --with-metadata=PATH: Read only the leading Markdown metadata table from the specified package.json.
  • --no-hash-link: Do not emit local hash links to other items in the generated Markdown. Other links remain unchanged.

Generate Markdown from an npm package:

dockit-ts ./path/to/package ./docs/api

This writes ./docs/api/<package-name>.md.

Successful runs print the resolved input and output paths:

Input project: /absolute/path/to/package
Output markdown: /absolute/path/to/docs/api/<package-name>.md
Elapsed time: 123.456 ms

Generate Markdown from a CLI-style package that keeps source files under src:

dockit-ts --entry ./src/index.ts ./path/to/package ./docs/api

Documents

For more information, please visit repository and refer README: Dockit


License

Copyright (c) Kouji Matsui (@[email protected])

License under Apache-v2.