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

@utoo/pack

v1.5.12

Published

> πŸŒ– High-performance bundler core for the Utoo toolchain, powered by [Turbopack](https://turbo.build/pack).

Readme

@utoo/pack

πŸŒ– High-performance bundler core for the Utoo toolchain, powered by Turbopack.

@utoo/pack is the engine behind the Utoo build system. It leverages the incremental computation power of Turbopack and the performance of Rust to provide a lightning-fast development and build experience.

✨ Key Features

  • ⚑ Extreme Performance: Core bundling logic implemented in Rust via NAPI-RS.
  • πŸ› οΈ Turbopack Powered: Built on top of the same engine that powers Next.js Turbopack.
  • πŸ”Œ Webpack Compatibility: Support for consuming webpack.config.js to simplify migration from Webpack.
  • πŸ“¦ Modern Web Support: Native support for TypeScript, JSX, CSS Modules, Less, Sass, and more.
  • πŸ”§ Extensible Architecture: Support for custom loaders, plugins, and flexible configuration.
  • πŸ”„ Fast HMR: Instant updates during development with optimized Hot Module Replacement.

✨ Supported Features

@utoo/pack aims for high compatibility with the Webpack ecosystem while providing superior performance.

  • Entry: Supports name, import, and filename templates.
  • Module Rules: Support for most mainstream Webpack loaders via loader-runner.
  • Resolve: Full support for alias and extensions.
  • Styles: Built-in support for Less, Sass, PostCSS, CSS Modules, and LightningCSS.
  • Optimization: Minification, Tree Shaking, Module Concatenation, and more.
  • Frameworks: Optimized for React (including styled-jsx, styled-components).
  • Tools: Integrated Bundle Analyzer and Tracing Logs.

[!TIP] For a detailed status of all features, see the Features List.

πŸ“¦ Installation

ut install @utoo/pack --save-dev

πŸš€ Quick Start

Programmatic API

You can use @utoo/pack directly in your Node.js scripts:

const { build, dev } = require('@utoo/pack');

// Production build
async function runBuild() {
  await build({
    config: {
      entry: [
        {
          import: "./src/index.ts",
          html: {
            template: "./index.html"
          }
        }
      ],
      output: {
        path: "./dist",
        filename: "[name].[contenthash:8].js",
        chunkFilename: "[name].[contenthash:8].js",
        clean: true
      },
      sourceMaps: true
    }
  });
}

// Development mode with HMR
async function startDev() {
  const server = await dev({
    config: {
      entry: [
        {
          import: "./src/index.ts",
          html: {
            template: "./index.html"
          }
        }
      ],
      output: {
        path: "./dist",
        filename: "[name].[contenthash:8].js",
        chunkFilename: "[name].[contenthash:8].js",
        clean: true
      },
      sourceMaps: true
    }
  });
}

πŸ”Œ Webpack Compatibility Mode

@utoo/pack provides a partial compatibility layer for Webpack.

const { build } = require('@utoo/pack');
const webpackConfig = require('./webpack.config.js');

async function run() {
  await build({ ...webpackConfig, webpackMode: true });
}

[!NOTE] Not all Webpack features and plugins are supported. Check the Features List for details on supported configuration options.

βš™οΈ Configuration

The bundler can be configured via a utoopack.json or through the programmatic API. Key configuration areas include:

  • entry: Define your application entry points.
  • define: Build-time variable replacement.
  • externals: Exclude specific dependencies from the bundle.
  • server.externals: Replace top-level externals for server entries and Server Functions. If omitted, server builds continue to use top-level externals.
  • devServer.browserToTerminal: Forward browser console output to the development terminal. Use "error", "warn", true, or false; standalone Utoopack defaults to false.
  • mode: development or production.

For a full list of options, see the Configuration Schema.

πŸ› οΈ Development

Prerequisites

Building from Source

# Build Rust bindings and TypeScript modules
npm run build

πŸ“„ License

MIT