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

mdmeld

v0.1.0

Published

Pack directory trees into a single markdown file for sharing with AI assistants

Downloads

8

Readme

mdmeld

Pack Once. Share Anywhere. — The markdown-based file archive format designed for seamless collaboration between humans and AI assistants.

MDMeld encodes files into a human-readable markdown archive with YAML metadata, position indexing for efficient AI navigation, and integrity hashes for verification.

Install

npm install mdmeld

CLI

# Pack a directory into an archive
npx mdmeld pack ./my-project -o archive.mdmeld

# Unpack an archive
npx mdmeld unpack archive.mdmeld -o ./output

# Finalize hashes in an AI-generated archive
npx mdmeld finalize archive.mdmeld

API

import { pack, unpack, check } from "mdmeld";

// Pack files into an archive string
const archive = await pack([
  {
    path: "src/index.ts",
    content: new TextEncoder().encode("export const x = 1;"),
  },
  { path: "README.md", content: new TextEncoder().encode("# Hello") },
]);

// Unpack an archive
const { files, manifest } = await unpack(archive);

// Validate integrity
const { valid, errors } = await check(archive);

Web

A static web tool for packing folders via drag-and-drop is included in web/. Run locally:

npm run dev

Format

An MDMeld archive is a markdown file with:

  1. A self-describing HTML comment header
  2. YAML frontmatter with file metadata and position indexes
  3. File contents in fenced code blocks
## <!-- MDMeld v1.0 archive -->

mdmeld:
version: "1.0.0"
hash_algorithm: xxh64
backtick_count: 4
files: - path: src/index.ts
type: text
size: 42
hash: "abc123"
syntax: typescript
position:
start: 20
fence: 22
content: 23
length: 3
integrity:
manifest_hash: "..."
content_hash: "..."

---

### src/index.ts

```typescript
export const x = 1;
```

Position metadata enables AI assistants to navigate directly to specific files without reading the entire archive.

## License

MIT