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

eas-profile

v1.0.10

Published

CLI to manage Expo/EAS build profiles — one codebase, multiple distributions

Readme

eas-profile

CLI to manage Expo/EAS build profiles — one codebase, multiple distributions.

Install

bun install -g eas-profile
# or
npm install -g eas-profile

Quick start

# Create profiles from current app.json
easp create main
easp create dth

# List profiles
easp list

# Switch profile
easp use dth

# Preview changes
easp use dth --dry-run

# Build with profile
easp build dth -p production -t ios

Commands

| Command | Description | |---------|-------------| | easp list | List all profiles, highlight active one | | easp use <name> | Apply profile to app.json and eas.json | | easp current | Show currently active profile name | | easp create <name> | Create a new profile (interactive) | | easp build [name] | Apply profile then run eas build | | easp migrate | Migrate from build-profile/ to .eas-profiles/ | | easp global <subcommand> | Manage global profiles in ~/.eas-profiles/config.json |

Profile structure

Profiles are stored in .eas-profiles/ at the project root.

.eas-profiles/
├── main.json
└── dth.json

Each profile:

{
  "name": "App Name",
  "slug": "app-slug",
  "scheme": "app-scheme",
  "ios": {
    "appId": 6760159429,
    "bundleIdentifier": "com.example.app",
    "buildNumber": "12"
  },
  "android": {
    "package": "com.example.app",
    "versionCode": 12
  },
  "env": {
    "EXPO_PUBLIC_BASE_API_URL": "https://api.example.com"
  }
}

Fields applied

| Target | Field | Source | |--------|-------|--------| | app.json | expo.name | profile.name | | app.json | expo.slug | profile.slug | | app.json | expo.scheme | profile.scheme | | app.json | expo.ios.bundleIdentifier | profile.ios.bundleIdentifier | | app.json | expo.ios.buildNumber | profile.ios.buildNumber | | app.json | expo.android.package | profile.android.package | | app.json | expo.android.versionCode | profile.android.versionCode | | eas.json | submit.production.ios.ascAppId | profile.ios.appId | | eas.json | build.*.env | profile.env (with --hard-env) |

Options

easp use

easp use <name> [options]

Options:
  --dry-run       Preview changes (git diff style)
  --backup        Create .bak files before overwriting
  --hard-env      Write profile env into all eas.json build profiles

easp build

easp build [name] [options]

Options:
  -p, --profile <profile>   EAS build profile: production|preview|development (default: production)
  -t, --target <platform>   Target platform: ios|android
  --local                   Run build locally
  --backup                  Create .bak before applying
  --hard-env                Write profile env into eas.json

If [name] is omitted, uses the currently active profile.

easp create

easp create <name> [options]

Options:
  --from-current    Copy from current app.json, skip prompts
  --name <value>    App display name
  --slug <value>    Expo slug
  --scheme <value>  Deep link scheme
  --bundle-id <v>   iOS bundle identifier
  --package <v>     Android package name
  --app-id <v>      App Store Connect App ID

Global profiles

Store profiles per-user in ~/.eas-profiles/config.json for sensitive env or shared configs.

# Import all local profiles to global
easp global import

# Add a single profile
easp global add dth --from-local

# List global profiles
easp global list

# Remove
easp global remove dth

# Show config path
easp global path

Resolution order: local .eas-profiles/ first, then global ~/.eas-profiles/config.json.

Version tracking

buildNumber (iOS) and versionCode (Android) are saved per-profile. When switching from profile A to B:

  1. Current buildNumber/versionCode from app.json saved back to profile A
  2. Profile B's buildNumber/versionCode restored to app.json

Non-interactive mode

All commands support --non-interactive for JSON output (scripts/LLM):

easp list --non-interactive
easp use dth --non-interactive
easp current --non-interactive

Programmatic API

import {
  applyProfile,
  listProfiles,
  getCurrentProfile,
  createProfile,
} from "eas-profile";

const profiles = await listProfiles();
const current = await getCurrentProfile();
await applyProfile("dth", { hardEnv: true });

License

MIT