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

@toolstackhq/create-qa-patterns

v1.0.18

Published

CLI for generating QA framework templates.

Downloads

1,882

Readme

@toolstackhq/create-qa-patterns

CLI for generating QA framework templates from qa-patterns.

Install

npm install -g @toolstackhq/create-qa-patterns

Usage

create-qa-patterns

Generate into a new directory:

create-qa-patterns my-project

The generated project is initialized with git init automatically and includes a default .gitignore for common local artifacts.

Generate the Playwright template explicitly:

create-qa-patterns playwright-template my-project

Generate the Cypress template explicitly:

create-qa-patterns cypress-template my-project
create-qa-patterns wdio-template my-project

Generate without post-create prompts, which is useful for CI or scripted setup:

create-qa-patterns playwright-template my-project --yes --no-install --no-setup --no-test

Upgrade a generated project

Generated projects now include a .qa-patterns.json metadata file. It tracks the last applied managed template baseline so the CLI can update infrastructure files conservatively later.

Check for safe updates:

create-qa-patterns upgrade check my-project

Apply only safe managed-file updates:

create-qa-patterns upgrade apply --safe my-project

The upgrade flow intentionally avoids overwriting user-owned test and page code. It only manages framework infrastructure such as config, scripts, workflows, and package metadata when those files are still unchanged from the generated baseline.

Supported templates

  • playwright-template
  • cypress-template
  • wdio-template

Interactive flow

When run in a terminal, the CLI shows:

  • a template picker with keyboard selection
  • short template descriptions
  • scaffold progress while files are generated
  • optional post-generate actions for:
    • npm install
    • npm test

For Playwright projects, the interactive flow also offers:

  • npx playwright install

For non-interactive automation, the CLI also supports:

  • --yes
  • --no-install
  • --no-setup
  • --no-test
  • --template <template>

Prerequisite checks

The CLI checks:

  • required Node.js version
  • npm availability for install and test actions
  • npx availability for template setup that depends on it
  • docker availability and warns if it is missing
  • git availability so the scaffold can start as a repository immediately

If npx playwright install fails because the host is missing browser dependencies, the CLI keeps the generated project and prints the recovery steps instead of treating scaffold generation as failed.