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 🙏

© 2024 – Pkg Stats / Ryan Hefner

otago

v2.1.2

Published

<p align="center"> <a href="https://otago.dev"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://cdn.otago.dev/logo/otago-text-darkmode.png" /> <source media="(prefers-color-scheme: light)" srcset="https://cdn.otago

Downloads

440

Readme

Features

  • Instant patches and features deployment, without re-publishing on stores.

  • Support expo and react-native apps.

  • Integrate in minutes and check your configuration with the doctor command.

  • Compliant with App Store and Play Store.

Overview

Otago is a custom server for expo-updates library. When the SDK is installed on your mobile application, each time a user starts the app, it will check on Otago for updates. If there is a new version, it is downloaded and installed.

  • ✓ Can be updated: Javascript code, images, fonts...
  • ✗ Cannot be updated: Native code, app config, libraries that import native code...

Getting Started

First you will need to create an account.

# 1. Follow the documentation to configure your application

# 2. Check the configuration
> OTAGO_API_KEY=[api_key] npx otago doctor --project [project_ref]

# 3. Build and publish your app...

# 4. Run your first code deployment
> OTAGO_API_KEY=[api_key] npx otago deploy --project [project_ref]

How to use

1. Help command

> npx otago help
Usage: otago [options] [command]

CLI to deploy your code pushes with Otago services.

Options:
  -v, --version                  output the version number
  -h, --help                     display help for command

Commands:
  doctor|check-config [options]
  deploy [options]               Deploy your code pushes with Otago services.
  help [command]                 display help for command

2. Doctor command

This command helps you check your configuration.

> npx otago doctor

| Option name | Parameter | Required | Description | | --- | --- | --- | --- | | Api Key | -k, --key (or env: OTAGO_API_KEY) | true | API key to authenticate with Otago services. | | Project ref | -p, --project (or env: OTAGO_PROJECT) | true | Project reference you want to deploy to. |

Envs automatic loading

| Env var | Default | Description | | --- | --- | --- | | NODE_ENV | production | Environnement used to load all your .env files. See override order. | | EAS_PROFILE | production | EAS profile used to load all your env in eas.json (if file is present, lower priority). | | OTAGO_LOAD_ENVS | true | Enable or disable env auto-loading. |

3. Deploy command

This command bundles your app then run the code update for all the phones with the current resolved runtime version.

Important note:

  • If you install or upgrade a lib which includes some native code or configuration, you cannot push it as a code update with Otago. Instead you need to increment runtime version (this is automatic with fingerprint policy), then build and publish a new version of your app.
> npx otago deploy

| Option name | Parameter | Required | Description | | --- | --- | --- | --- | | Api Key | -k, --key (or env: OTAGO_API_KEY) | true | API key to authenticate with Otago services. | | Project ref | -p, --project (or env: OTAGO_PROJECT) | true | Project reference you want to deploy to. | | Platforms | -pf, --platforms (or env: OTAGO_PLATFORMS) | false | Platforms to deploy, comma separated. Example: android,ios. Default: all. | | Code signing private key | -pk, --private-key (or env: OTAGO_PRIVATE_KEY) | false(true if code signing is configured) | Private key (or its path) to sign your update. |

Envs automatic loading

| Env var | Default | Description | | --- | --- | --- | | NODE_ENV | production | Environnement used to load all your .env files. See override order. | | EAS_PROFILE | production | EAS profile used to load all your env in eas.json (if file is present, lower priority). | | OTAGO_LOAD_ENVS | true | Enable or disable env auto-loading. |

Need Help? Report a bug?

Submit an issue to the project Github if you need any help. And, of course, feel free to submit pull requests with bug fixes or changes.