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

@bravetheskies/moonbase-cli

v1.4.1-b

Published

A CLI for creating and developing a Moonbase Shopify theme

Readme

AIM

  • Provide an easy to use CLI for generating, working on & managing Moonbase projects
  • Ability to create a new Moonbase project from the command line
  • Ability to connect the local project to a shopify store
  • Ability to start theme development using moonbase start
  • Allows us to clean up the Moonbase project repository by removing ugly javascript files and configs.
  • Potential to add automatic module imports:
    • Ability to add a module using moonbase add {module}
    • This will clone the selected repo and integrate with the theme
    • Any javascript imports will be automatically imported during compile-time using moonbase start

Why

  • Easy, faster development, especially for creating a theme
  • If the client requests theme files, they don't receive any confusing compiler code
  • Prevents potential for compiler changes between Moonbase themes
  • Moonbase compiler will always be up-to-date and only needs to be installed once on a machine
  • We can update a module once in the repo, and it would push the update to all themes during compile-time

Getting started

To install the CLI, open a terminal and run the following command (the -g flag tells the module to install globally):

npm install @bravetheskies/moonbase-cli -g

Commands

Command | | Flags | Implemented? ------------ | ------------- | ------------- | ------------- moonbase | Moonbase's CLI Menu | n/a | yes - create | Create a moonbase project from scratch | --name --password --store --connect | yes - connect | Connect moonbase to a Shopify store & git repository | --name --password --store --project | yes - start | Start local development | --project | yes - open | Open store on a theme preview | --project | yes - add | Automatically import (or update) a moonbase module | | - update | Check for updates to the moonbase cli package | | yes

Flags

You don't need to include flags with the command as it will run you through the setup, but if you want to make things quicker you can include a flag in the initial command to skip some of the steps.

Usage: moonbase {func} {flags}

Example: moonbase create --name=MyTheme

Flag | | ------------| ------------- --name | Project name --password| Shopify API password --store | Store .myshopify.com domain --connect | (Boolean) Connect to store once project is created? --theme | Theme id (if not creating a new theme)

Example usage with all flags: moonbase create --name=myproject --connect=true --password=xxx --store=example.myshopify.com --theme=123

Contributing

Contributions are welcome! To get started clone this repository, install dependencies, and you can start the CLI by running node bin/moonbase from the projects root directory.

Windows PowerShell Security Policy Issues

If you're using Windows' PowerShell, you may recieve a security message along the lines of the following:

moonbase : File C:\Users\BTS\AppData\Roaming\npm\moonbase.ps1 cannot be loaded because running scripts is disabled on this system...

This is a security feature of PowerShell to prevent running unsigned scripts. To fix this, run PowerShell as an Administrator, and enter: Set-ExecutionPolicy RemoteSigned