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 🙏

© 2024 – Pkg Stats / Ryan Hefner

apt-cli

v0.1.17

Published

APT CLI - Used to parse the DEB package dependency tree.

Downloads

2,770

Readme

APT-CLI

Used to parse the DEB package dependency tree.

Features

  • Specify package repository
  • Print dependency tree
  • Search for package name by file name [v0.1.0]

Usage

$ npx apt-cli -h # or yarn apt-cli -h

Usage: apt-cli [options] <package...>

Options:
  -c, --cache-dir <DIR>           metadata cache path.
  -a, --arch <ARCH>               default architecture. (default: "any")
  --auth-conf <auth.conf>         apt auth.conf configuration.
  --newline <LF>                  format line break markers.
  --cache-index                   cache package indexes.
  --quiet                         no progress bar.
  -e, --entry <ENTRY>             APT source entry. (default: [])
  -f, --entry-file <FILE>         APT sources.list file. (default: [])
  -h, --help                      display help for command

Commands:
  resolve [options] <package...>  Search packages via package selector
  find [options] <regex...>       Find package name by file name like apt-file
  help [command]                  display help for command

Example

$ yarn apt-cli -r -e "deb https://community-packages.deepin.com/deepin/beige beige main" -c cache -a amd64 resolve apt
 ████████████████████████████████████████ | "https://community-packages.deepin.com/deepin/beige/dists/beige/Release" | 35182/35182
 ████████████████████████████████████████ | "https://community-packages.deepin.com/deepin/beige/dists/beige/main/binary-i386/Release" | 113/113
 ████████████████████████████████████████ | "https://community-packages.deepin.com/deepin/beige/dists/beige/main/binary-i386/Packages.gz" | 8779245/8779245
 ████████████████████████████████████████ | "https://community-packages.deepin.com/deepin/beige/dists/beige/main/binary-arm64/Release" | 114/114
 ████████████████████████████████████████ | "https://community-packages.deepin.com/deepin/beige/dists/beige/main/binary-arm64/Packages.gz" | 9404486/9404486
 ████████████████████████████████████████ | "https://community-packages.deepin.com/deepin/beige/dists/beige/main/binary-loong64/Release" | 116/116
 ████████████████████████████████████████ | "https://community-packages.deepin.com/deepin/beige/dists/beige/main/binary-riscv64/Release" | 116/116
 ████████████████████████████████████████ | "https://community-packages.deepin.com/deepin/beige/dists/beige/main/binary-riscv64/Packages.gz" | 9028121/9028121
 ████████████████████████████████████████ | "https://community-packages.deepin.com/deepin/beige/dists/beige/main/binary-amd64/Release" | 114/114
 ████████████████████████████████████████ | "https://community-packages.deepin.com/deepin/beige/dists/beige/main/binary-loong64/Packages.gz" | 8830747/8830747
 ████████████████████████████████████████ | "https://community-packages.deepin.com/deepin/beige/dists/beige/main/binary-amd64/Packages.gz" | 9539308/9539308
apt:amd64 (=2.8.0deepin2)
  base-passwd:amd64 (=3.6.3)
    libc6:amd64 (=2.38-6deepin5)
      libgcc-s1:amd64 (=13.2.0-3deepin3)
        gcc-13-base:amd64 (=13.2.0-3deepin3)
    libdebconfclient0:amd64 (=0.271)
    libselinux1:amd64 (=3.5-1deepin1)
      libpcre2-8-0:amd64 (=10.39-2)
  gpgv:amd64 (=2.4.5-2)
    libassuan0:amd64 (=2.5.6-1)
      libgpg-error0:amd64 (=1.47-3)
    libbz2-1.0:amd64 (=1.0.8-deepin)
    libgcrypt20:amd64 (=1.10.3-2)
    libnpth0:amd64 (=1.6-3)
    zlib1g:amd64 (=1:1.3.dfsg-3)
  libapt-pkg6.0:amd64 (=2.8.0deepin2)
    liblz4-1:amd64 (=1.9.3-deepin)
    liblzma5:amd64 (=5.4.5-0.3)
    libstdc++6:amd64 (=13.2.0-3deepin3)
    libsystemd0:amd64 (=255.2-4)
      libcap2:amd64 (=1:2.44-1)
      libzstd1:amd64 (=1.5.5+dfsg2-2)
    libudev1:amd64 (=255.2-4)
    libxxhash0:amd64 (=0.8.2-2)
  deepin-keyring:all (=2024.01.16)
  libgnutls30:amd64 (=3.7.9-2)
    libgmp10:amd64 (=2:6.3.0+dfsg-2)
    libhogweed6:amd64 (=3.7.3-1)
      libnettle8:amd64 (=3.7.3-1)
    libidn2-0:amd64 (=2.3.2-2)
      libunistring2:amd64 (=0.9.10-6)
    libp11-kit0:amd64 (=0.25.5-2)
      libffi8:amd64 (=3.4.6-1)
    libtasn1-6:amd64 (=4.18.0-4)
  libseccomp2:amd64 (=2.5.4-2deepin1+rb1)

Format

Resolve

Default: {package}:{architecture} ({selector}) Field Ref: {fieldName}

See IPackage interface.

Find

Default: {package}:{index.architecture}: {path} Field Ref: {fieldName}

See IContentItem interface.

License

MIT LICENSE