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

@fps-plus-sdk/install

v1.4.2

Published

Zero-config setup for FPS+ SDK — configures GitHub Packages auth, SSL/proxy, and launches create-fps-app

Readme

@fps-plus-sdk/install

Zero-config bootstrap for FPS+ SDK development. Handles corporate proxy/SSL detection, GitHub Packages authentication via gh CLI, and hands off to @ford-innersource/create-fps-app.

Usage

npx --registry=https://registry.npmjs.org @fps-plus-sdk/install@latest

That's it. The CLI will:

Why the --registry flag? Ford developer machines configure @ford-innersource packages to resolve from GitHub Packages. Without the explicit flag, npm may attempt to fetch @fps-plus-sdk/install from GitHub Packages instead of public npmjs.com and fail. The flag ensures it always resolves from the public registry where no auth is required.

  1. Detect corporate proxy (ZScaler) — finds the Ford CA certificate and configures NODE_EXTRA_CA_CERTS
  2. Authenticate with GitHub via gh CLI — leverages your existing gh installation (opens browser if needed)
  3. Save credentials — extracts the token and writes it to ~/.npmrc with restrictive permissions
  4. Launch create-fps-app — scaffolds your new project with all auth already working

Prerequisites

  • Node.js >= 22
  • GitHub CLI (gh) installed
  • A GitHub account that is a member of the ford-innersource organization

No npm account, no manual PAT creation, no .npmrc editing required.

Install gh (if you don't have it)

# macOS
brew install gh

# Windows
winget install GitHub.cli

# Linux (Debian/Ubuntu)
sudo apt install gh

What It Does (in detail)

SSL/Proxy Detection

Ford networks use ZScaler for SSL inspection. This causes SELF_SIGNED_CERT_IN_CHAIN errors when npm tries to reach GitHub Packages. The CLI:

  • Tests connectivity to npm.pkg.github.com
  • If SSL interception is detected, searches known certificate paths
  • Writes export NODE_EXTRA_CA_CERTS="<path>" to your shell profile

GitHub Auth via gh

Instead of manually creating a Personal Access Token:

  1. CLI checks if gh is already logged in
  2. If not, runs gh auth login --web (opens browser, you approve)
  3. The one-time code is automatically copied to your clipboard — just paste in the browser
  4. After browser auth completes, the CLI auto-continues (no need to press Enter)
  5. Extracts the token via gh auth token
  6. Writes it to ~/.npmrc for npm to use with GitHub Packages

Scope auto-repair: If your token exists but is missing read:packages, the CLI automatically runs gh auth refresh --scopes read:packages to fix it — no manual steps needed.

Repeat Usage

If you run npx @fps-plus-sdk/install@latest again and valid auth already exists, it skips straight to launching create-fps-app.

Troubleshooting

"gh token doesn't have read:packages scope"

The CLI automatically detects and fixes this. If your existing gh token is missing read:packages, the installer runs gh auth refresh --scopes read:packages without requiring manual intervention. Your browser may open briefly to re-authorize.

If auto-refresh fails for any reason, run manually:

gh auth refresh --scopes read:packages
npx --registry=https://registry.npmjs.org @fps-plus-sdk/install@latest

"Not a member of ford-innersource"

Contact your team lead or GitHub org admin to get added to the ford-innersource organization.

SSL errors persist after setup

The CA cert auto-detection looks in common Ford paths. If your cert is elsewhere:

export NODE_EXTRA_CA_CERTS="/path/to/your/cert.pem"
npx @fps-plus-sdk/install

Development

# Build
npm run build

# Type check
npm run type-check

# Test locally
node dist/index.js

Publishing

  1. Create fps-plus-sdk org at npmjs.com/org/create
  2. npm run build
  3. npm publish --access public