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

@saashub/qoq-cli

v2.0.3

Published

CLI that handles formatting, linting and testing Your JS/TS code

Downloads

353

Readme

@saashub/qoq-cli

GitHub Actions Workflow Status NPM Version NPM Unpacked Size NPM License

Rationale

To maintain high code quality and simplify the use of static code analysis tools in both CI and Git hooks, we created QoQ CLI. It orchestrates multiple tools with minimal configuration, allowing you to run everything you need with just three simple commands:

  • qoq --check – Runs a full code check, typically used in the CI lint step or pre-push hook.
  • qoq staged – Checks only staged changes, typically used in the pre-commit hook.
  • qoq --fix – Fixes issues where possible, typically triggered manually after hooks or a CI failure to quickly correct problems.

With QoQ CLI, keeping your code clean and compliant is easier than ever.

Install

npm install @saashub/qoq-cli

or run wizard directly via npx with

npx -y @saashub/qoq-cli --init

Usage

First of all, if not configured via npx we need to run wizard manually, You can do it intentionally by running:

qoq --init

But if no config file found, it will ask to create one every time You'll run check or fix. It supports monorepo without adding anything, based on package.json entry workspaces.

Automatic configuration

Simply answer all the questions, and the wizard will generate initial configuration values for you. Once complete, it will install all necessary packages from the @saashub/qoq-* workspace and create three files in your project's root directory:

  • .prettierrc – Supports IDE formatting with a pre-configured template.
  • eslint.config.js – Connects the CLI-generated ESLint config with your IDE.
  • qoq.config.js – Provides configuration for the CLI.

With this setup, you’ll be up and running quickly with minimal manual configuration.

Manual configuration

When setting things up by yourself all three files needs to be created manually,

  1. .prettierrc with custom config or QoQ templeate eg "@saashub/qoq-prettier"

  2. eslint.config.js with custom config or re-export of QoQ settings in CommonJs

    const config = require('@saashub/qoq-cli/bin/eslint.config.cjs');
    
    module.exports = config;

    or ESM

    import config from '@saashub/qoq-cli/bin/eslint.config.mjs';
    
    export default config;
  3. qoq.config.js with config only for QoQ CLI, params described below

Important notice to ESLint config

Since QoQ CLI re-creates config for the particular tool on execution You may end up with a situation that created eslint.config.js config will try to import a file that doesn't exist yet. The same situation will occur when You checkout a fresh project and install dependencies. To avoid that please modify Your package.json file in scripts section by adding:

"postinstall": "qoq --warmup"

We're not adding it to the package on purpose. Often 3rd party libraries with postinstall scripts are treated as suspicious due to the fact that You can execute there pretty much everything. Also pnpm totally ignores postinstalls entry.

Configuration object in qoq.config.js

Needs to export an CommonJS or ESM configuration object.

Avaliable options

CLI has its own documentation just run qoq -help or qoq -h.

Last but not least

Feel free to join us, please read General Contributing Guidelines

CLI technical documentation can be found here