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 🙏

© 2025 – Pkg Stats / Ryan Hefner

zooz-cli-npm

v1.1.8

Published

CLI tool for transferring Microsoft Power Pages sites between environments with persistent environment switching and same-auth transfers

Readme

Zooz CLI

A command-line interface tool for transferring Microsoft Power Pages sites between environments.

Features

  • Interactive environment selection from pac auth list
  • Interactive site selection from pac pages list
  • Automatic site ID detection from current environment
  • Cross-platform compatibility (Mac/Windows/Linux)
  • Simple and intuitive CLI interface
  • Available as both Python and npm packages

Prerequisites

  • Microsoft Power Platform CLI (pac) installed and configured
  • Either Python 3.7+ or Node.js 14+

Installing Microsoft Power Platform CLI

Windows:

# Via winget
winget install Microsoft.PowerPlatformCLI

# Or via npm
npm install -g @microsoft/powerplatform-cli

Mac/Linux:

npm install -g @microsoft/powerplatform-cli

Or download from: https://aka.ms/PowerAppsCLI

Installation

You can install Zooz CLI either via npm (recommended) or Python pip.

Option 1: Install from npm (Recommended)

# Install globally
npm install -g zooz-cli-npm

# Or using yarn
yarn global add zooz-cli-npm

Option 2: Install from Python PyPI

Install the latest version directly from PyPI:

pip install zooz-cli

Or with pip3:

pip3 install zooz-cli

Install from source

  1. Clone or download the project
  2. Navigate to the project directory
  3. Install the CLI tool:
pip install .

Or for development:

pip install -e .

Usage

Transfer Site Between Environments

Simply run the command and follow the interactive prompts:

zooz transfer-site

Command Options

  • --download-path: Path where to download the site (default: ./)
  • --upload-path: Path from where to upload the site (default: auto-detected from downloaded folder)

Examples

# Basic usage with interactive prompts
zooz transfer-site

# With custom download path
zooz transfer-site --download-path ./downloads

# With both custom paths
zooz transfer-site --download-path ./downloads --upload-path ./uploads

How it works

  1. Source Environment Selection: Displays available environments from pac auth list and prompts for interactive selection
  2. Add New Environments: Option to add new environments by entering "0" and providing environment URL
  3. Site Selection: Shows available sites from pac pages list in the selected environment and prompts for interactive selection
  4. Download: Downloads the selected site using pac pages download
  5. Auto-Detection: Automatically finds the downloaded folder for upload
  6. Target Environment Selection: Prompts for target environment selection
  7. Upload: Uploads the site from the downloaded folder to the selected target environment using pac pages upload
  8. Cleanup: Automatically deletes the downloaded folder after successful transfer

Requirements

The tool expects:

  • The pac CLI to be installed and authenticated with your environments
  • Proper permissions to download from source and upload to target environments
  • Access to Power Pages sites in both source and target environments

Project Structure

zooz-cli/
├── bin/
│   └── zooz              # Executable wrapper
├── src/
│   └── cli.py           # Main CLI implementation
├── setup.py             # Installation script
└── README.md            # This file

Development

To contribute to this project:

  1. Clone the repository
  2. Install in development mode: pip install -e .
  3. Make your changes
  4. Test with: zooz transfer-site /path/to/test/project

License

MIT License

Support

For issues and questions, please contact the development team.