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

@tvashtr/cli

v1.0.2

Published

> Local developer scaffolding CLI to spin up fully configured, white-label e-commerce storefronts in seconds.

Downloads

56

Readme

tvashtr-cli

Local developer scaffolding CLI to spin up fully configured, white-label e-commerce storefronts in seconds.

tvashtr-cli is the command-line utility for the Tvashtr Suite monorepo. It automates the creation of new tenant storefronts, copying a boilerplate template and pre-configuring names and environment variables so you can focus entirely on branding and catalog sheets.


🚀 Scaffolding a New Store

You can execute the CLI tool directly from the root of the monorepo workspace:

npx tvashtr create <your-store-name>

🛠️ How it Works under the Hood

When you execute create <project-name>, the CLI script (bin/tvashtr.js) automates these standard setup tasks:

  1. Safety Boundary: Verifies if apps/<your-store-name> already exists, preventing accidental directory overwrites.
  2. Template Replication: Recursively copies files from the packages/tvashtr-cli/template directory into the new apps/<your-store-name> workspace.
  3. Identity Setup: Parses package.json in the newly scaffolded app, dynamically replacing the generic "name": "store-template" value with your chosen <your-store-name>.
  4. Environment Initialization: Automatically copies .env.example into a local .env file, allowing you to configure backend secrets instantly.

📁 Scaffolded Template Structure

The boilerplate template contains everything needed to run a production-grade store on Cloudflare Pages and Workers:

apps/<your-store-name>/
├── app/
│   ├── assets/
│   │   └── main.css         # Custom Tailwind v4 styling variables
│   └── app.vue              # Entrypoint layout
│
├── cloudflare/
│   ├── schema.sql           # D1 Database SQLite schema definition
│   └── wrangler.toml        # Cloudflare pages deployment configurations
│
├── .env.example             # Template environment variables
├── app.config.ts            # Nuxt App options
├── nuxt.config.ts           # Nuxt 4 configs extending @tvashtr/ui Layer
├── store.config.ts          # Store Branding Single Source of Truth
└── tailwind.config.ts       # Store Tailwind overrides

🛠️ Next Steps After Scaffolding

Once scaffolded, launch your store using simple shell commands:

# 1. Enter the app directory
cd apps/<your-store-name>

# 2. Run the development server
npm run dev

🏗️ Design Philosophy

  1. Zero External Dependencies: The CLI employs only native Node.js core libraries (fs, path, url), keeping execution fast, safe, and independent of external package installations.
  2. Deterministic Boilerplates: Scaffolds standard config patterns that seamlessly link to the @tvashtr/ui layer, ensuring any platform updates immediately apply to all tenant stores.
  3. No-Code Brand Configuration: Standardizes custom styling around the store.config.ts and app/assets/main.css files, separating e-commerce logic from storefront branding.