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

create-confluence-sync

v1.0.12

Published

Bidirectional Confluence Server documentation sync via Git. Edit XHTML locally, commit, auto-sync with Confluence.

Readme

create-confluence-sync

Bidirectional documentation sync between local files and Confluence Server via Git.

Edit XHTML files locally, commit — changes sync to Confluence automatically. Someone edits in Confluence — changes sync back on your next commit.

Quick Start

npx create-confluence-sync

The wizard will ask for:

  • Confluence URL
  • Personal Access Token
  • Space to sync

It downloads all pages, sets up Git with auto-sync hooks, and you're ready.

How It Works

  1. You edit .xhtml files in docs/ folder
  2. You git commit
  3. Post-commit hook automatically:
    • Pulls changes from Confluence
    • Merges with your changes
    • Pushes your changes to Confluence
    • Updates the local tree map

File Structure

After setup:

your-project/
├── docs/
│   └── LLS/                    # your Confluence space
│       ├── Page Title/
│       │   ├── Page Title.xhtml
│       │   └── Child Page/
│       │       └── Child Page.xhtml
├── .confluence/
│   ├── config.json             # connection settings (gitignored)
│   └── tree.json               # page map (tracked in git)
├── AGENTS.md                   # instructions for AI agents
└── .gitignore

Commands

# Setup (first time)
npx create-confluence-sync

# Manual sync
npx create-confluence-sync sync

# Push specific file
npx create-confluence-sync sync "docs/LLS/Page/Page.xhtml"

# Restore hidden pages (interactive)
npx create-confluence-sync restore

# Restore by name
npx create-confluence-sync restore "Page Title"

# List spaces
npx create-confluence-sync spaces

# Get page content
npx create-confluence-sync page <pageId>

# View remote tree
npx create-confluence-sync tree

# View local tree
npx create-confluence-sync local-tree

# Delete page from Confluence
npx create-confluence-sync delete <pageId>

Hiding Pages (Virtual Delete)

Delete a file or folder locally and commit. The page stays in Confluence but stops syncing locally. Use restore to bring it back.

Format

Files use Confluence Storage Format (XHTML):

<h2>Title</h2>
<p>Text with <strong>bold</strong> and <em>italic</em>.</p>
<ul>
  <li>Item 1</li>
  <li>Item 2</li>
</ul>

AI Agent Compatible

The generated AGENTS.md file contains full instructions for AI agents (Claude, GPT, etc.) to create, edit, and manage documentation through the same Git workflow.

Requirements

  • Node.js 20+
  • Git
  • Confluence Server with REST API access
  • Personal Access Token

License

MIT