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

@amirja811/openzl-cli

v0.1.0

Published

OpenZL CLI - High-performance compression tool

Readme

@openzl/cli

OpenZL CLI - High-performance compression tool for Node.js applications.

Installation

Global Installation (Recommended)

npm install -g @openzl/cli

That's it! The package automatically detects your platform and installs the correct binary.

Local Installation

npm install @openzl/cli

Platform Support

  • macOS (ARM64, x64) - Fully tested
  • Linux (x64, ARM64) - Built via CI/CD
  • Windows (x64) - Built via CI/CD

No build tools required! The package includes pre-built binaries for all supported platforms.

Usage

After installation, you can use the zli command:

# Check version
zli --version

# Compress a file
zli compress input.json output.zl

# Decompress a file
zli decompress input.zl output.json

# List available compression profiles
zli list-profiles

# Inspect a compressed file
zli inspect input.zl

Platform Support

This package provides pre-built binaries for:

  • macOS: arm64, x64
  • Linux: arm64, x64
  • Windows: x64

The appropriate binary is automatically selected during installation based on your platform.

Integration with @openzl/express

This CLI is designed to work seamlessly with the @openzl/express middleware:

# Install both packages
npm install @openzl/express @openzl/cli

# The middleware will automatically find and use the CLI

Development

Building from Source

If you need to build the CLI from source:

# Clone the OpenZL repository
git clone https://github.com/openzl/openzl.git
cd openzl

# Build the CLI
make zli BUILD_TYPE=OPT

# The binary will be created in the build directory

Building for Multiple Platforms

To build binaries for all supported platforms, you'll need to:

  1. Build on macOS for darwin-arm64 and darwin-x64
  2. Use GitHub Actions or similar CI to build for Linux platforms
  3. Use Windows CI to build for win32-x64

Troubleshooting

Binary Not Found

If you get a "binary not found" error:

  1. Ensure you're using a supported platform
  2. Try reinstalling: npm uninstall -g @openzl/cli && npm install -g @openzl/cli
  3. Check that the binary is executable: ls -la $(which zli)

Permission Denied

On Unix-like systems, ensure the binary is executable:

chmod +x $(which zli)

Platform Not Supported

If your platform isn't supported, you can:

  1. Build from source (see Development section)
  2. Use the gzip fallback in @openzl/express
  3. Request support for your platform

License

MIT

Links