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

@shockpkg/cli

v3.0.8

Published

shockpkg cli

Downloads

2,334

Readme

shockpkg CLI

The shockpkg CLI

npm node

size downloads

Build Status

Overview

The CLI package manager for shockpkg packages.

Usage

$ npm install -g @shockpkg/cli
$ shockpkg COMMAND
running command...
$ shockpkg (--version|-v)
@shockpkg/cli/3.0.8 platform-arch node-vX.X.X
$ shockpkg --help [COMMAND]
USAGE
  $ shockpkg COMMAND
...

Commands

shockpkg about

Show info about CLI.

USAGE
  $ shockpkg about [-h]

FLAGS
  -h, --help  Show CLI help.

DESCRIPTION
  Show info about CLI.

See code: src/commands/about.ts

shockpkg available

List the available packages not installed.

USAGE
  $ shockpkg available [-h]

FLAGS
  -h, --help  Show CLI help.

DESCRIPTION
  List the available packages not installed.

See code: src/commands/available.ts

shockpkg cleanup

Cleanup temporary files and obsolete packages.

USAGE
  $ shockpkg cleanup [-h]

FLAGS
  -h, --help  Show CLI help.

DESCRIPTION
  Cleanup temporary files and obsolete packages.

See code: src/commands/cleanup.ts

shockpkg file PACKAGE

Get package file path.

USAGE
  $ shockpkg file PACKAGE [-h]

ARGUMENTS
  PACKAGE  Package ID.

FLAGS
  -h, --help  Show CLI help.

DESCRIPTION
  Get package file path.

See code: src/commands/file.ts

shockpkg help [COMMAND]

Show CLI help.

USAGE
  $ shockpkg help [COMMAND] [-r]

ARGUMENTS
  COMMAND  Command to show help for.

FLAGS
  -r, --recursive  Include all child commands in output.

DESCRIPTION
  Show CLI help.

See code: src/commands/help.ts

shockpkg info PACKAGE

View info for package.

USAGE
  $ shockpkg info PACKAGE [-h]

ARGUMENTS
  PACKAGE  Package ID.

FLAGS
  -h, --help  Show CLI help.

DESCRIPTION
  View info for package.

See code: src/commands/info.ts

shockpkg install PACKAGES

Install packages.

USAGE
  $ shockpkg install PACKAGES [-h]

ARGUMENTS
  PACKAGES  List of packages to be installed.

FLAGS
  -h, --help  Show CLI help.

DESCRIPTION
  Install packages.

See code: src/commands/install.ts

shockpkg installed

List the installed packages.

USAGE
  $ shockpkg installed [-h]

FLAGS
  -h, --help  Show CLI help.

DESCRIPTION
  List the installed packages.

See code: src/commands/installed.ts

shockpkg is-current PACKAGE

Check package is installed and current.

USAGE
  $ shockpkg is-current PACKAGE [-h]

ARGUMENTS
  PACKAGE  Package ID.

FLAGS
  -h, --help  Show CLI help.

DESCRIPTION
  Check package is installed and current.

See code: src/commands/is-current.ts

shockpkg is-installed PACKAGE

Check package is installed.

USAGE
  $ shockpkg is-installed PACKAGE [-h]

ARGUMENTS
  PACKAGE  Package ID.

FLAGS
  -h, --help  Show CLI help.

DESCRIPTION
  Check package is installed.

See code: src/commands/is-installed.ts

shockpkg is-obsolete PACKAGE

Check package is obsolete.

USAGE
  $ shockpkg is-obsolete PACKAGE [-h]

ARGUMENTS
  PACKAGE  Package ID.

FLAGS
  -h, --help  Show CLI help.

DESCRIPTION
  Check package is obsolete.

See code: src/commands/is-obsolete.ts

shockpkg list

List all the packages in the package list.

USAGE
  $ shockpkg list [-h]

FLAGS
  -h, --help  Show CLI help.

DESCRIPTION
  List all the packages in the package list.

See code: src/commands/list.ts

shockpkg obsolete

List obsolete installed packages.

USAGE
  $ shockpkg obsolete [-h]

FLAGS
  -h, --help  Show CLI help.

DESCRIPTION
  List obsolete installed packages.

See code: src/commands/obsolete.ts

shockpkg outdated

List outdated installed packages.

USAGE
  $ shockpkg outdated [-h]

FLAGS
  -h, --help  Show CLI help.

DESCRIPTION
  List outdated installed packages.

See code: src/commands/outdated.ts

shockpkg path

Get package manager path.

USAGE
  $ shockpkg path [-h]

FLAGS
  -h, --help  Show CLI help.

DESCRIPTION
  Get package manager path.

See code: src/commands/path.ts

shockpkg remove PACKAGES

Remove packages.

USAGE
  $ shockpkg remove PACKAGES [-h]

ARGUMENTS
  PACKAGES  List of packages to be removed.

FLAGS
  -h, --help  Show CLI help.

DESCRIPTION
  Remove packages.

See code: src/commands/remove.ts

shockpkg update

Update the packages list.

USAGE
  $ shockpkg update [-h] [-s]

FLAGS
  -h, --help     Show CLI help.
  -s, --summary  Summarize the updated packages.

DESCRIPTION
  Update the packages list.

See code: src/commands/update.ts

shockpkg upgrade

Upgrade all outdated packages.

USAGE
  $ shockpkg upgrade [-h]

FLAGS
  -h, --help  Show CLI help.

DESCRIPTION
  Upgrade all outdated packages.

See code: src/commands/upgrade.ts

shockpkg url

Get package manager package list URL.

USAGE
  $ shockpkg url [-h]

FLAGS
  -h, --help  Show CLI help.

DESCRIPTION
  Get package manager package list URL.

See code: src/commands/url.ts

shockpkg verify PACKAGE

Verify an installed package.

USAGE
  $ shockpkg verify PACKAGE [-h]

ARGUMENTS
  PACKAGE  Package ID.

FLAGS
  -h, --help  Show CLI help.

DESCRIPTION
  Verify an installed package.

See code: src/commands/verify.ts

shockpkg version

Show CLI version.

USAGE
  $ shockpkg version

DESCRIPTION
  Show CLI version.

See code: src/commands/version.ts

Bugs

If you find a bug or have compatibility issues, please open a ticket under issues section for this repository.

License

Copyright (c) 2018-2024 JrMasterModelBuilder

Licensed under the Mozilla Public License, v. 2.0.

If this license does not work for you, feel free to contact me.