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

packitup

v0.4.0

Published

A JavaScript packager with a complete module system. Currently supports CommonJS modules and can export to ES modules.

Readme

PackItUp 📦

(这个文档用AI写的 说实话这个文档我自己都看不懂 我也不确定用的对不对 所以不会用最好还是直接找我)

"Pack it up!" - A simple and straightforward JavaScript packager

✨ Features

  • 🔄 Self-contained - Can pack itself, truly zero-dependency
  • 🚀 Single file output - All code bundled into one file (or two files, a umd export, a esm export)
  • ⚙️ Virtual module system - Built-in core module simulation
  • 📁 Zero configuration - Works out of the box

🚀 Quick Start

install

npm install packitup
cd node_modules/packitup
node install
cd ../..
packitup build ./src ./dist

📖 Usage

# Basic usage
packitup build <input-directory> [output-directory]

# With options
packitup build ./src ./dist --name my-app --umd bundle.js

# Show help
packitup --help

⚙️ Options

· --name - Specify project name (If not specified, it will be automatically specified according to the file) · --umd - UMD output filename (default: [project name].js) · --esm - ESM output filename (default: [project name].esm.js) · --help - Show help message

🔧 API Usage

const { buildDirectory } = require('packitup');

const result = buildDirectory('./src', {
  projectName: 'my-app',
  extensions: ['.js', '.json']
});

console.log(result.umd); // UMD bundle size
console.log(result.esm); // ESM bundle size

or esm import

impory { buildDirectory } from 'packitup';

const result = buildDirectory('./src', {
  projectName: 'my-app',
  extensions: ['.js', '.json']
});

console.log(result.umd); // UMD bundle size
console.log(result.esm); // ESM bundle size

or from global import

const { buildDirectory } = PackItUp;

const result = buildDirectory('./src', {
  projectName: 'my-app',
  extensions: ['.js', '.json']
});

console.log(result.umd); // UMD bundle size
console.log(result.esm); // ESM bundle size

🤔 FAQ

Q: Why is there no packitup command?

A: PackItUp is designed to work without global installation. Use npx packitup or install locally in your project.

Q: Which module systems are supported?

A: Currently supports CommonJS, and can export to both UMD and ESM formats.

📄 License

ISC License - See LICENSE file