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

@zoboz/bam

v1.4.1

Published

A blazing-fast, standalone Rust-powered tool for reformatting specifiers and verifying package.json files with zero setup.

Downloads

10

Readme

@zoboz/bam

Blazing-fast Automation Module (BAM) for your JavaScript/TypeScript projects. This package delivers Zoboz's powerful safety checks and shimming features without forcing you into a specific orchestration flow.

What is @zoboz/bam?

@zoboz/bam is the lightweight, high-performance core of Zoboz's functionality, designed for developers who want maximum flexibility. It provides essential features like:

  • Dependency validation: Ensure your package.json stays clean and consistent.
  • Shimming: Smooth over common inconsistencies between different environments.
  • Safety checks: Guard against common mistakes in project configurations.

All of this without dictating how you should orchestrate your workflows.

How is @zoboz/bam different from @zoboz/core?

| Feature | @zoboz/bam | @zoboz/core | | ----------------- | -------------------------------- | -------------------------------------------- | | Orchestration | Manual, you control the flow | Automated, handles everything out of the box | | Performance | Optimized, minimal overhead | Slightly heavier due to orchestration layer | | Flexibility | Total, use what you need | Less flexible, but convenient | | Dependencies | Lean, no extra bloat | Includes all orchestration dependencies | | Ideal for | Advanced users, custom workflows | Quick setups, full automation |

When Should You Use @zoboz/bam?

  • You want to control the orchestration yourself.
  • You only need specific features like safety checks or shimming.
  • You’re building a custom pipeline and don't want unnecessary overhead.
  • You prefer modular, fast tools over full-stack automation.

If you're looking for a more "plug-and-play" experience where everything is handled for you, check out @zoboz/core.

** Compatibility Table (Development Environment) **

The following table applies to the development phase of your package. Consumers of your package can rely on even older versions of Node.js if you do not use features unavailable in older versions. Essentially, your package determines Node.js compatibility for its users.

OS & CPU Compatibility

| Operating System | arm64 | x64 | | ---------------- | -------------- | -------------- | | MacOS | ✅ Fully Native | ✅ Fully Native | | Linux | ✅ Fully Native | ✅ Fully Native | | Windows | ✅ Fully Native | ✅ Fully Native |

Installation

npm install -g @zoboz/bam

or with Yarn:

yarn global add @zoboz/bam

Usage Examples

Reformat Specifiers

Reformat import/export specifiers in your project files.

zoboz-bam reformat-specifiers \
  --absolute-package-dir /path/to/your/package \
  --absolute-source-dir /path/to/your/src \
  --absolute-output-dir /path/to/output \
  --output-format esm

Notice: the file contents for both absolute-source-dir and absolute-output-dir should already exist. This tool is going to overwrite the needed adjustments in the absolute-output-dir. Think of it more like how a linter with --fix works, but on the generated dist code rather than the source code.

Options:

  • --absolute-package-dir: Absolute path to your package.json directory.
  • --absolute-source-dir: Absolute path to the actual source code directory.
  • --absolute-output-dir: Absolute path to the already transpiled output, to get reformatted.
  • --output-format: Specify the output format the output is following (dts, esm, or cjs).

Verify package.json

Verify and optionally fix issues in your package.json file.

zoboz-bam verify-package-json \
  --absolute-package-dir /path/to/your/package \
  --can-update-package-json

Options:

  • --absolute-package-dir: Absolute path to your package.json directory.
  • --can-update-package-json: If included, the tool will automatically fix detected issues.

Why Choose @zoboz/bam?

  • Blazing Fast: Minimal overhead, maximum performance.
  • Modular: Use exactly what you need, nothing more.
  • Customizable: Perfect for advanced users and unique workflows.

If you want automation without sacrificing control, @zoboz/bam is your go-to.

License

MIT License.


For full automation, orchestration, and more out-of-the-box features, check out @zoboz/core.


Happy hacking! 🚀