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

create-appraisejs

v0.2.0

Published

Scaffold a new AppraiseJS app in your directory

Downloads

1,577

Readme

create-appraisejs

Scaffold a new AppraiseJS project.

Quick Start

npx create-appraisejs@latest

The CLI will ask for:

  1. The target directory. It must not exist yet, or it must be empty.
  2. The package manager: npm, pnpm, yarn, or bun.
  3. Whether to run the production setup immediately.
  4. Which Playwright browsers you want available: chromium, firefox, and/or webkit.

What The Scaffolder Does

By default, create-appraisejs uses the bundled template shipped inside the package.

During scaffolding it:

  1. Copies the packaged AppraiseJS template into your target directory.
  2. Renames the packaged gitignore file back to .gitignore.
  3. Rewrites package.json scripts so they use your chosen package manager.
  4. Preserves the seeded local SQLite database at prisma/dev.db.
  5. Starts you with a clean automation workspace: automation/config/environments/environments.json is reset to {}, automation/mapping/locator-map.json is reset to [], reusable step definitions are included, and starter features, locators, and reports are not bundled into the generated app.
  6. Optionally runs the project's setup script and then installs any Playwright browsers you selected.

If you skip setup, the CLI still prints the exact next commands to run.

Default Local Workflow

From the generated project directory:

# Install dependencies, create .env, prepare the database, and build the app
npm run setup

# Optional: install only the browsers you need
npm run install-playwright -- chromium

# Start the local production server
npm run start

npm run dev is still available, but the scaffold is intentionally production-first.

Generated Project Highlights

The generated project includes:

  • a seeded SQLite database at prisma/dev.db
  • the AppraiseJS dashboard and application code
  • automation sync scripts and reusable step definitions
  • package-manager-aware scripts such as setup, setup:db, setup:full, and appraisejs:sync

The generated project does not include:

  • a ready-made .env file
  • starter feature files under automation/features
  • starter locator files under automation/locators
  • automation reports

Template Source Overrides

The package defaults to the bundled template. Remote fetching is only used when you provide one of the override environment variables below.

| Variable | Description | Default | | --- | --- | --- | | CREATE_APPRAISE_REPO_URL | Repository URL used for remote template fetching. | https://github.com/jamil2018/appraisejs-core.git | | CREATE_APPRAISE_BRANCH | Branch or ref to fetch from the remote repository. | main | | CREATE_APPRAISE_TEMPLATE_SUBPATH | Path to the template directory inside that repository. | templates/default | | CREATE_APPRAISE_USE_BUNDLED | Set to 1, true, or yes to force the bundled template even when remote overrides are present. | bundled template |

When remote mode is active, the CLI tries the repository tarball first and falls back to git clone if needed.

Example:

CREATE_APPRAISE_BRANCH=main CREATE_APPRAISE_TEMPLATE_SUBPATH=templates/default npx create-appraisejs@latest

Common Scripts In The Generated App

| Script | What it does | | --- | --- | | npm run setup | Install dependencies, create .env, rebuild the local DB, build the app, and protect seeded files | | npm run setup:db | Recreate the local SQLite database from migrations and rerun the sync pipeline | | npm run setup:full | Reinstall dependencies, rebuild the DB, rebuild the app, and protect seeded files | | npm run install-playwright -- <browser...> | Install selected Playwright browsers | | npm run sync-all | Run the full sync pipeline | | npm run appraisejs:sync | Alias for sync-all | | npm run start | Start the local production server | | npm run dev | Start the Next.js development server |

Notes

  • Node.js 18+ is required.
  • The CLI rewrites hardcoded npm and npx usage inside the generated scripts so pnpm, yarn, and bun work correctly after scaffolding.
  • Selecting Playwright browsers in the prompt does not force installation unless you also choose to run setup immediately. If you skip setup, the CLI shows the browser install command in the next steps.