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

@d11/delivr-cli

v0.0.6

Published

Management CLI for Delivr - deploy mobile app updates over-the-air

Readme

Delivr CLI

The Delivr CLI is a Node.js application that allows users to deploy and manage over-the-air updates for React Native applications.

Installation & Usage

Global Installation

npm install -g @d11/delivr-cli

After global installation, you can use the CLI directly:

code-push-standalone <command>

Project Installation

# Using npm
npm install --save-dev @d11/delivr-cli

# Using yarn
yarn add --dev @d11/delivr-cli

After project installation, you can use the CLI through npm/yarn:

# Using npm
npm run code-push-standalone <command>

# Using yarn
yarn code-push-standalone <command>

# Using npx
npx code-push-standalone <command>

Authentication

Most commands require authentication. You'll need an access key to use the CLI.

Login

# Login with access key
code-push-standalone login --accessKey <your-access-key>

# Check login status
code-push-standalone whoami

# Logout
code-push-standalone logout

To get an access key:

  1. Visit Delivr Dashboard
  2. Go to Settings → Generate New Token
  3. Generate a new access key

Release Management

The release command allows you to deploy updates to your app. There are two types of updates you can release:

  1. Full Bundle (sending fully updated bundle)
  2. Patch Bundle (sending only the diff)

Command Structure

code-push-standalone release <appName> <updateContents> <targetBinaryVersion>
[--deploymentName <deploymentName>]
[--description <description>]
[--disabled <disabled>]
[--mandatory]
[--noDuplicateReleaseError]
[--rollout <rolloutPercentage>]
[--isPatch <true|false>] # Default false. Specify true in case sending patch bundle.
[--compression <'deflate' | 'brotli'>] # 'deflate' (default) or 'brotli' (better compression)

Parameters:

Required Parameters:

  • appName: Name of your app (e.g., "MyApp-iOS")
  • updateContents: Path to your update files (bundle/assets)
  • targetBinaryVersion: App store version this update is for. Can be:
    • Exact version: "1.0.0"
    • Range: "^1.0.0" (compatible with 1.x.x)
    • Wildcard: "*" (all versions)

Optional Parameters:

  • --deploymentName or -d: Target deployment ("Staging" or "Production", defaults to "Staging")
  • --description or -des: Release notes or changelog
  • --disabled: Prevents update from being downloaded (useful for staged rollouts)
  • --mandatory: Forces users to accept this update
  • --noDuplicateReleaseError: Shows warning instead of error if releasing same content
  • --rollout: Percentage of users who should receive this update (1-100)
  • --isPatch: Whether this is a patch update
    • false (default): Full bundle update
    • true: Patch update (requires patch bundle)
  • --compression: Compression algorithm to use
    • deflate (default): Standard compression
    • brotli: Better compression, smaller bundle size

Full Bundle Release

Release a complete new bundle:

# Release to staging with deflate compression (default)
code-push-standalone release MyApp-iOS ./codepush 1.0.0 \
  --deploymentName Staging \
  --description "New features" \
  --isPatch false

# Release with brotli compression (better compression)
code-push-standalone release MyApp-iOS ./dist/bundle "^1.0.0" \
  --deploymentName Production \
  --mandatory \
  --isPatch false \
  --compression brotli

Note about compression: Brotli typically achieves better compression ratios than deflate (e.g., 23.1MB → 8.14MB with Brotli vs 11.04MB with deflate).

Patch Bundle Release

For smaller updates, first create a patch and then release it:

  1. Create patch between old and new bundles:
code-push-standalone create-patch \
  ./old-bundle \
  ./new-bundle \
  ./.codepush/patches
  1. Release the patch:
# Release patch with brotli compression
code-push-standalone release MyApp-iOS ./.codeupush/patches "1.0.0" \
  --deploymentName Staging \
  --description "Bug fixes" \
  --isPatch true \
  --compression brotli

Note about patches: Patch updates significantly reduce the update size as they only contain the changes between versions. Always use --isPatch true when releasing a patch bundle.

Note: Make sure to upload assets alongwith patch bundle.

For more details about the binary diff implementation, see bsdiff/README.md.

Promote Updates

After testing in staging, promote to production:

# Basic promotion
code-push-standalone promote MyApp-iOS Staging Production

# Promotion with options
code-push-standalone promote MyApp-iOS Staging Production \
  --rollout 25 \                    # Release to 25% of users
    --description "Verified update"    # Update description

Contributing

For information about contributing to Delivr CLI, please see our Contributing Guide.


Note: For additional commands and advanced features, see our Advanced Usage Guide.