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

suzip

v0.1.5

Published

archive file package

Readme

Features

  • Supports zip, tar, gzip formats
  • Provides command line tools and support for configuration files

Installation

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

Useage

Node

import { zip } from 'suzip'

zip({
  cwd: '. /',
  output: '. /.output/dist.zip',
  ignore: ['node_modules/**', '.output/**', 'dist/**'],
  dot: true,
})

Set SUZIP_DEBUG=debug environment variable to start debug mode

Command Line

suzip [command] [option]

Commands:
  suzip zip [options]  Compression files or directories
  suzip                Compression files or directories                [default]

Options:
  -s, --cwd         Input Sources (only one can be specified)           [string]
  -c, --context     Working directory path, default to current directory[string]
  -o, --output      Output File Path
  -p, --pattern     Regular expression matching input source file       [string]
  -i, --ignore      Regular expression to ignore output                  [array]
  -I, --ignoreFile  File path to ignore output                          [string]
      --dot         Include files starting with the . symbol           [boolean]
      --zip         Zip option attribute in package.json file
      --example     Show examples                                      [boolean]
      --debug       Debug mode, print more information, modified by
                    `process.env.SUZIP_DEBUG` environment variable     [boolean]
  -h, --help        Show help                                          [boolean]
  -v, --version     Show version number                                [boolean]

See more examples

Options

For detailed option types, refer to source

  • context: {string}, Default is current directory process.cwd(), it affects other option parameters with relative path values
  • output: {string}, output file path, Default is dist.zip
  • cwd: {string}, the input source, only one can be specified
  • pattern: {string}, regular expression to match the input source file, Default is **/*
  • ignore: {string | string[]}, regular expression ignore output
  • ignoreFile: {string | boolean}, specify an ignore file, if true, then use the .gitignore file in the cwd directory
  • prefix: {string}, the output file prefix
  • dot: {boolean}, whether to include files starting with .
  • globOption: {object}, options for the glob module, see node-readdir-globnode-glob for more details
  • globEntryData: {object}, input parameter for glob module, see node-archiver for more details
  • archiverOption: {object}, the options for the archiver module, see node-archiver for more details
  • sources: {object[]}, input source group, each object contains cwd, pattern, ignore, ignoreFile, prefix, dot, globOption, globEntryData attributes

About suzip

suzip is based on the original arch-file refactoring and renaming, using typescript for type management, using unbuild (rollup + esbuild) for packaging build, new command line tools, which can make the compressed file operation out of the webpack or vite compilation process, can be directly in the command line, It is also easy to integrate with the corresponding hooks.

License

MIT