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

@10kbwiki/cli

v1.2.0

Published

CLI for 10KB Wiki — manage your wikis from the terminal

Downloads

288

Readme

10KB Wiki CLI

The 10KB Wiki CLI lets you manage your wikis from the terminal. Write documentation as local markdown files and sync them to your wiki with a single command.

Installation

npm install -g @10kbwiki/cli

Requires Node.js 18+.

Quick Start

# 1. Authenticate
tkb login

# 2. Create a wiki and local docs/ folder
tkb init my-project

# 3. Edit markdown files in docs/
# 4. Push to your wiki
tkb push

# 5. Open in browser
tkb open

How It Works

The CLI follows a docs-as-code workflow:

  1. You write markdown files (.md) in a local docs/ folder
  2. Each file uses YAML frontmatter for metadata (title, sort)
  3. The CLI syncs these files to your 10KB Wiki via the API
  4. The server builds everything into a single HTML file (under 10 KB)

File Format

---
title: Getting Started
sort: 1
---

# Getting Started

Your content here...
  • title — Page title displayed in the wiki sidebar
  • sort — Controls page ordering (lower = first)

Folder Structure

Files can be nested in subdirectories to create hierarchical navigation:

docs/
  index.md              → /index
  getting-started.md    → /getting-started
  guides/
    setup.md            → /guides/setup
    deployment.md       → /guides/deployment
  api/
    reference.md        → /api/reference

Commands

| Command | Alias | Description | |---------|-------|-------------| | tkb login | — | Authenticate with your account | | tkb whoami | — | Show account info and plan | | tkb init <name> | — | Initialize a wiki project | | tkb push | — | Push local docs to your wiki | | tkb pull | — | Pull wiki pages to local files | | tkb status | s | Show wiki sync status | | tkb build | b | Trigger a wiki build | | tkb watch | w | Watch for changes and auto-push | | tkb open | o | Open wiki in the browser | | tkb generate | gen | Generate docs with an AI agent |

Configuration

The CLI uses two config files:

| File | Location | Purpose | |------|----------|---------| | ~/.10kb/config.json | Home directory | API token (global, shared across projects) | | .10kb.json | Project root | Wiki slug, docs directory, auto-build setting |

.10kb.json Example

{
  "wiki": "my-project",
  "docs": "docs",
  "auto_build": true
}

License

MIT