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

@packall/core

v0.5.4

Published

Registry-agnostic engine that resolves, downloads, verifies and packages an npm dependency closure for offline import.

Readme

@packall/core

The registry-agnostic engine behind packall. It resolves package specs, walks their dependency closures, verifies downloads, and writes registry-shaped bundle artifacts. The engine does not know how a registry speaks HTTP: that boundary is the Registry service.

Install

npm install @packall/core effect

effect is a peer dependency. The default entry point is browser-safe. Node-specific archive support is available explicitly from @packall/core/node.

Registry service

Implement or provide Registry when embedding the engine. A registry backend supplies three operations:

  • preflight checks that the registry is reachable.
  • packument(name) reads package metadata and published versions.
  • download(manifest) returns the tarball bytes for a resolved package.

The engine then handles resolution, lockfile pinning, platform filtering, integrity verification, progress reporting, manifests, layouts, and archive planning.

Bundle from code

import * as Effect from "effect/Effect";
import { bundle, defaultBundleOptions, parseSpec, Registry } from "@packall/core";

const program = Effect.gen(function* () {
	// The surrounding Effect runtime provides Registry, Progress, filesystem,
	// crypto, and the Node archive layer.
	yield* Registry;
	return yield* bundle([parseSpec("[email protected]")], {
		...defaultBundleOptions,
		outDir: "./bundles",
		toolVersion: "example",
	});
});

In practice, compose the program with an Effect layer that provides Registry, Progress, and the archive backend. The public API also exposes plan, resolve, resolveLocked, bundleLocked, input-file parsing, lockfile parsing, and manifest helpers for applications that need more control than bundle provides.

See the packall documentation and the @packall/core API reference for the full typed surface.

License

MIT