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

sellauth-theme-cli

v0.1.40

Published

Official CLI for developing SellAuth themes locally.

Downloads

177

Readme

SellAuth Theme CLI

Official CLI tool for developing, syncing, and managing SellAuth themes locally.

🚀 Features

  • 🔐 Login using your SellAuth API key
  • 🎨 Create new themes
  • 📥 Pull themes locally
  • 📤 Push changes to SellAuth
  • 👀 Live preview during development
  • 🔄 Auto-reload on file changes
  • 🌬 Built-in Tailwind CSS support
  • ⚡ Watch mode with smart syncing

📦 Installation

Install globally:

npm install -g sellauth-theme-cli

🔑 Authentication

Login using your SellAuth API key:

sellauth-theme login

Where to find your API key

Dashboard → Account → API Access https://dash.sellauth.com/api

If you don’t see an API key, click Regenerate.

Your Shop ID can also be found on the same page.

🆔 Finding Your Theme ID

Option 1: From Dashboard

Go to:

Storefront → Themes https://dash.sellauth.com/theme

Click on the theme name. You will be redirected to:

https://dash.sellauth.com/theme/edit/<themeId>

The number in the URL is your Theme ID.

Option 2: Using the CLI (Recommended)

You can list all your shops and their theme IDs directly from the CLI:

sellauth-theme list-ids

This command will print:

  • All shops on your account
  • Their corresponding Shop IDs
  • All themes within each shop
  • Each theme’s Theme ID

This is the fastest way to retrieve both Shop IDs and Theme IDs without opening the dashboard.

🏬 Multiple Shops

If your account has multiple shops, you must specify:

--shop <shopId>

This argument is supported on all commands that interact with a shop. If your account has only one shop, the CLI will use it automatically.

🎨 Create a Theme

Create a new theme:

sellauth-theme create --name "My Theme"

With optional template:

sellauth-theme create --name "My Theme" --template main

Available Templates

Currently supported official templates:

  • main
  • pro
  • blue

Options:

  • --name <name> Theme name (required)
  • --template <id> Official template ID (optional)
  • --shop <shopId> Required if multiple shops exist

📥 Pull Theme

Download theme files locally:

sellauth-theme pull --theme <themeId> [--shop <shopId>]

Options:

  • --theme <themeId> Theme ID (required)
  • --shop <shopId> Required if multiple shops exist

📤 Push Theme

Sync local theme to SellAuth:

sellauth-theme push --theme <themeId> [--shop <shopId>]

Options:

  • --theme <themeId> Theme ID (required)
  • --shop <shopId> Required if multiple shops exist

👀 Watch Mode (Recommended for Development)

Watch local theme and sync changes automatically:

sellauth-theme watch --theme <themeId> [--shop <shopId>]

This will:

  • Generate a temporary preview token
  • Display preview URL
  • Watch for file changes
  • Push updates automatically
  • Reload preview page

Options:

  • --theme <themeId> Theme ID (required)
  • --shop <shopId> Required if multiple shops exist
  • --dir <directory> Themes directory (default: themes)
  • --template <name> Preview template (default: shop)

🎯 Apply Theme to Shop

Apply a theme to your shop:

sellauth-theme apply --theme <themeId> [--shop <shopId>]

Options:

  • --theme <themeId> Theme ID (required)
  • --shop <shopId> Required if multiple shops exist

🌬 Tailwind CSS Support

If your theme contains:

tailwind.config.js

The CLI automatically:

  • Builds assets/style.css → assets/built.css
  • Watches template files defined in content
  • Pushes built CSS automatically
  • Reloads preview

No need to install Tailwind inside the theme.

🛠 Requirements

  • Node.js 18+
  • SellAuth account
  • SellAuth API key

🧠 License

MIT License