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

ionicpro-deploy

v1.1.5

Published

Access the Ionic Pro Deploy API using Promises and/or Observable based methods.

Readme

Ionic Pro Deploy Build Status Maintainability Test Coverage

Access the Ionic Pro Deploy API using Promises and/or Observable based methods.

Usage

Installation

  1. Ensure you have the Ionic Pro Plugin installed see their Setup Docs

  2. Install this module by running the following command: npm i --save ionicpro-deploy

  3. Import IonicProDeployModule in the @NgModule where it is to be used.


import { IonicProDeployModule } from 'ionicpro-deploy';

@NgModule({
  ...
  imports: [
    ...
    IonicProDeployModule.forRoot()
  ]
})

Optionally, an IonicProConfig object can be passed to use a different app configuration than that provided during installation of the plugin.


imports: [
  ...
  IonicProDeployModule.forRoot({
    channel: 'Development'
  })
]
  1. Inject IonicProDeployService as a dependency in the constructor of the object in which it will be used.
  @Component({
    ...
  })
  export class MyAwesomePage {

    constructor(private proDeploy: IonicProDeployService) {
      ...
    }
  } 

Usage

The following methods are available for use from the injected provider.

init(config)

Initialize the deploy plugin

Parameters

config: IonicProConfig

  • App configuration

check()

Check for updates from specified channel

Returns: Promise<(boolean|string)>

  • Resolves with boolean:
    • true
      • if updates are available and compatible with the current binary version
    • false
      • if updates are available but incompatible with the current binary version
      • or currently unable to check for updates
  • Rejects with error message string
    • if update information is not available

download()

Download an available and compatible update

Returns: Observable<number>

  • Emits the download percentage
  • completes when download complete

update()

Complete a full update cycle (download, extract) with or without redirect

Parameters

autoReload: boolean

  • TRUE: Redirect when complete (default)
  • FALSE: Complete with no redirect

Returns: Observable<UpdateProgress>

  • Emits the download then extract percentage and the step being completed
interface UpdateProgress {
  /** Name of the step being completed */
  step: string;
  /** Percent progress for the current step */
  percent: number;
}

extract()

Extract a downloaded archive

Returns: Observable<number>

  • Emits the extract percentage
  • completes when download complete

redirect()

Redirect to the latest version of the app on this device


info()

Retrieve information about the current installed build


getVersions()

List downloaded versions on this device


deleteVersion(version)

Delete a downloaded version on this device

Parameters

version: string

  • UUID of the deploy version downloaded to device