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 🙏

© 2025 – Pkg Stats / Ryan Hefner

monoup

v0.4.0

Published

A library packing tool for monorepos

Readme

Monoup

A lightweight and flexible library packing tool designed specifically for monorepos. Build, version, and manage your monorepo packages with ease.

✨ Features

Build Features:

  • 📦 Multi-Format Output: Support for CJS and ESM formats
  • 🔨 TypeScript Support: Full TypeScript support with declaration files
  • Performance: Fast builds using esbuild and rollup
  • 🔍 Source Maps: Optional source map generation
  • 📊 Progress Display: Real-time build progress

Version Management:

  • 🔄 Semver Support: Full semantic versioning compliance
  • 📦 Monorepo Sync: Maintains version consistency across packages
  • 🏷️ Pre-release: Support for alpha, beta, and other pre-release tags
  • Auto-update: Automatically updates dependent package versions

Publishing:

  • 🔄 Version Sync: Only publishes packages matching root version
  • 📦 Smart Package Order: Publishes in dependency order
  • 🔍 Version Check: Skips already published versions
  • 🎨 Beautiful Output: Clean, formatted npm publish output

General Features:

  • 🎯 Package Targeting: Target specific packages with --package option
  • 🧹 Clean Management: Smart cleaning of build artifacts
  • 🎨 Beautiful CLI: Intuitive interface with colored output
  • ⚠️ Error Handling: Detailed error reporting with proper exit codes

🚀 Installation

npm install -D monoup
# or
yarn add -D monoup
# or
pnpm add -D monoup

📖 Usage

Build Command

# Build all packages
monoup build

# Build specific package
monoup build --package my-package

# Build with process display
monoup build --process

# Build for production
monoup build --production

Version Command

# Bump patch version (1.0.0 -> 1.0.1)
monoup version

# Bump specific version type
monoup version [major|minor|patch]

# Add/bump pre-release version
monoup version pre              # 1.0.0 -> 1.0.0-alpha.0
monoup version pre --tag beta   # 1.0.0 -> 1.0.0-beta.0

# Version specific package
monoup version --package my-package

Clean Command

# Clean all packages
monoup clean

# Clean specific package
monoup clean --package my-package

# Clean with verbose output
monoup clean --verbose

Publish Command

# Publish all packages that match root version
monoup publish

# Publish specific package
monoup publish --package my-package

# Publish with process display
monoup publish --process

⚙️ Configuration

Create a monoup.config.mjs in your project root:

export default {
  // Project structure
  packagesDir: 'packages', // Monorepo packages directory
  srcDir: 'src', // Source directory
  outDir: 'lib', // Output directory

  // Build configuration
  build: {
    // Output formats and extensions
    formats: ['cjs', 'esm'],
    extensions: {
      cjs: '.js',
      esm: '.mjs',
    },

    // Build options
    target: 'ESNext', // Build target
    sourcemap: true, // Generate source maps

    // TypeScript configuration
    typescript: {
      enabled: true, // Enable TypeScript support
      declaration: true, // Generate declaration files
    },
  },

  // Display options
  verbose: false, // Verbose logging
  process: false, // Show build progress
};

📄 License

MIT © illuxiza