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

dumpu

v0.5.0

Published

CLI tool to dump git-tracked codebase into a single .md or .txt file with syntax highlighting

Readme

🧠 dumpu — Simple Codebase Dumper (for developers)

dumpu হল একটি lightweight CLI টুল যা কোনো Git রিপোজিটরির সমস্ত কোড ফাইল একসাথে একটি .txt বা .md ফাইলে ডাম্প করে দেয় — সহজ রিভিউ, ব্যাকআপ বা AI কোড অ্যানালিসিসের জন্য।


🚀 Installation

# Install globally
npm install -g dumpu

# OR use directly with npx (recommended)
npx dumpu

📦 Usage

🔹 Basic Command

npx dumpu
npx dumpu --fileName=frontend.md
npx dumpu --fileName=backend.md

➡️ ডিফল্ট আউটপুট:

  • Location: ~/Downloads/completeCodebase.txt
  • Format: .txt

🔹 Output Format Options

| Option | Description | Example | |--------|--------------|----------| | --md | Markdown ফরম্যাটে আউটপুট | npx dumpu --md | | --txt | Text ফরম্যাটে আউটপুট | npx dumpu --txt | | --format | এক্সপ্লিসিটভাবে ফরম্যাট নির্দিষ্ট করা | npx dumpu --format md | | --fileName | কাস্টম ফাইলনেম সেট করা | npx dumpu --fileName=mydump.md |


🔹 Size Limit Control

ডিফল্টে প্রতিটি ফাইলের সর্বোচ্চ সাইজ 200KB পর্যন্ত অন্তর্ভুক্ত হয়।
প্রয়োজনে এটি CLI আর্গুমেন্ট দিয়ে বাড়ানো যায়।

npx dumpu --maxKB=300

🧩 Examples

Markdown dump (with TOC):

npx dumpu --md

Plain text dump (default):

npx dumpu

Custom name and larger file limit:

npx dumpu --fileName=myproject.md --maxKB=500

Force text format even with .md name:

npx dumpu --fileName=backup.md --txt

🧠 Features

✅ Dumps entire repo’s tracked + untracked files
✅ Respects .gitignore rules
✅ Auto-detects programming language (for Markdown syntax highlighting)
✅ Includes a preamble block with processing & patch rules
✅ Progress display with time tracking
✅ Default output in ~/Downloads/
✅ Safe limits (max file size, allowed extensions)


📁 Output Structure (Markdown mode)

# Codebase Dump
> Generated at: 2025-10-20T10:00:00Z

## Processing Rules

(instruction block)


## Table of Contents
- `src/index.js`
- `package.json`
- ...

## Files
### `src/index.js`
```javascript
console.log("Hello world");

---

## ⚙️ Config Summary

- Default max file size: **200KB**
- Default format: **txt**
- Output dir: `~/Downloads/`
- Allowed extensions: js, ts, jsx, tsx, py, php, html, css, json, yaml, etc.
- Skips binaries and lock files

---

## 🧩 License

MIT © [Souvik](https://github.com/ssouvikk)