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

appium-package-depot

v0.1.20

Published

Appium plugin for managing test packages in a shared directory

Readme

appium-package-depot

npm version npm downloads

The Appium Package Depot allows you to upload app packages (e.g. .apk, .ipa, .app, or .zip) directly to an Appium 2.x.x server instance. These packages are stored server-side and assigned a unique ID. Test sessions can then refer to these packages by specifying "app": "depot:PACKAGE_ID" in the Desired Capabilities.

Features

  • Upload app packages for server-side storage
  • Optionally unzip uploaded .zip files
  • Define setup and teardown scripts per package
  • Use packages via simple capabilities like "app": "depot:PACKAGE_ID"
  • Platform-agnostic (Android, iOS, Windows, etc.)

⚠️ Critical Security Warning

WARNING: This plugin executes optional setup and teardown scripts directly on the Appium server machine. These scripts may contain arbitrary shell commands and pose a significant security risk if misused.

Additionally, the plugin exposes unauthenticated HTTP endpoints for uploading, listing, and removing packages. Do not expose the Appium server to untrusted networks.

Only use this plugin in isolated, trusted, and secure environments!

Installation

appium plugin install --source=npm appium-package-depot

Activation

Run Appium with the following plugin and storage path configuration:

appium --use-plugins=package-depot --plugin-package-depot-dir=/path/to/package/depot/dir/

Usage

1. Upload a Package

curl --location 'http://${APPIUM_SERVER_URL}/package-depot/add-package?unzip=true&executable-path=ExampleApp.app' \
--header 'Content-Type: multipart/form-data' \
--form 'setup=@"/path/to/setup.sh"' \
--form 'package=@"/path/to/ExampleApp.zip"' \
--form 'teardown=@"/path/to/teardown.sh"'

Only package is required. All other fields are optional.

Example Response:

{
  "message": "Package depot successfully uploaded",
  "packageId": "1743542085618-1051"
}

2. Use the Package in a Test

{
  "platformName": "ios",
  "automationName": "xcuitest",
  "app": "depot:1743542085618-1051"
}

3. Remove a Package

curl --location --request DELETE 'http://${APPIUM_SERVER_URL}/package-depot/remove-package?packageId=1743542085618-1051'

Example Response:

{
  "message": "Package 1743542085618-1051 removed successfully"
}

4. Get all loaded Packages

curl --location 'http://${APPIUM_SERVER_URL}/package-depot/packages/'

Example Response:

{
  "1762214966168-7472": {
    "id": "1762214966168-7472",
    "name": "TestPackage.zip",
    "packagePath": "packageDepot/packages/1762214966168-7472",
    "package": {
      "filename": "TestPackage.zip",
      "relativePath": "TestPackage.app"
    }
  }
}

5. Get a single Package

curl --location 'http://${APPIUM_SERVER_URL}/package-depot/packages/?packageId=1762214966168-7472'

Example Response:

{
  "id": "1762214966168-7472",
  "name": "TestPackage.zip",
  "packagePath": "packageDepot/packages/1762214966168-7472",
  "package": {
    "filename": "TestPackage.zip",
    "relativePath": "TestPackage.app"
  }
}

Configuration Options

| Option | Description | | ---------------------------- | -------------------------------------------------------- | | --plugin-package-depot-dir | Path to the directory where uploaded packages are stored |

License

MIT License