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

@finos/fdc3-example-apps

v3.0.0-alpha.2

Published

FDC3 example web applications and a local App Directory server for Desktop Agent demos

Readme

FDC3 example apps

This toolbox package holds sample web applications used to exercise FDC3 (channels, intents, app metadata, security helpers, and related flows) against a Desktop Agent (see toolbox/fdc3-for-web/demo module).

Layout

| Path | Role | |------|------| | front-end-apps/ | Browser-only or primarily client-side examples. Each subfolder is one app. | | server-apps/ | Examples that pair a Vite-served SPA with optional Express routes or WebSockets in the same process (see below). | | common/ | Shared TypeScript used by more than one app (for example security-demo helpers). The dev server allows Vite to resolve imports into this tree when needed. | | directory/ | App Directory payloads: hand-maintained JSON fragments (for example workbench or conformance presets) and a generated/ subtree produced at dev startup. |

Apps are not registered in a central manifest: anything under front-end-apps/ or server-apps/ that looks like an app is picked up automatically.

Per-app conventions

Each app lives in its own directory and is expected to have at least:

  • index.html — entry document; required for discovery.
  • static/ — assets served as static files; often includes appd.v2.json (one or more applications records) used when merging the generated directory.
  • src/ — application source (TypeScript or TSX). For server-style apps, an optional backend.ts default-export can attach Express middleware and share the HTTP server (for example APIs plus WebSockets on the app port).
  • properties.json (optional) — may set a fixed port; otherwise ports are assigned sequentially from a base port when you run the dev orchestrator.

Running locally (monorepo)

From this directory:

npm run dev
# or
npm start

Running from npm (after publish)

Once @finos/fdc3-example-apps is published:

npx @finos/fdc3-example-apps
# or, after npm install @finos/fdc3-example-apps
npx fdc3-example-apps

Point your Desktop Agent at the combined App Directory URL printed on startup (by default http://localhost:4005/static/generated/fdc3-example-apps.json).

Dev orchestrator (main.ts)

npm run dev (or the fdc3-example-apps bin) runs main.ts, which:

  1. Discovers every subdirectory of front-end-apps/ and server-apps/ that contains index.html.
  2. Assigns each app an HTTP port (with optional overrides from properties.json).
  3. Merges all static/appd.v2.json files into directory/generated/fdc3-example-apps.json so a Desktop Agent can load a single combined App Directory for local demos.
  4. Starts one Express + Vite dev server per app (isolated Vite root and cache), serving the SPA and static assets, and loading src/backend.ts when present.

Point your agent or workbench at the generated directory file and the per-app http://localhost:<port> URLs as appropriate for your scenario.