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

@vrdmr/fnx-test

v0.4.3

Published

SKU-aware Azure Functions local emulator

Readme

fnx — SKU-aware Azure Functions Local Emulator

Run Azure Functions locally with the exact host version your target SKU uses in production. No more "works locally, breaks in Azure."

Install

npm install -g @vrdmr/fnx-test

Or run without installing:

npx @vrdmr/fnx-test start --sku flex --app-path ./my-app

Quick Start

# List available SKUs
fnx start --sku list

# Run your function app with the Flex Consumption host
fnx start --sku flex --app-path ./my-function-app

# Run with Windows Consumption host
fnx start --sku windows-consumption --app-path ./my-function-app

What It Does

fnx downloads and caches the self-contained host binary for your target SKU, then launches your function app against it. Each SKU maps to a specific host version, extension bundle version, and runtime configuration — matching what runs in Azure.

fnx start --sku flex
  ├── Resolves SKU profile (host v4.1047.100, bundle v4.30.0)
  ├── Downloads host binary (cached at ~/.fnx/hosts/)
  ├── Downloads extension bundle (cached at ~/.fnx/bundles/)
  ├── Auto-starts Azurite if needed (storage triggers)
  └── Launches host → your functions are live

Available SKUs

| SKU | Description | |-----|-------------| | flex | Flex Consumption (latest host, latest bundle) | | linux-premium | Linux Premium (EP1/EP2/EP3) | | linux-consumption | Linux Consumption | | windows-consumption | Windows Consumption | | windows-dedicated | Windows Dedicated (App Service Plan) |

Commands

fnx start --sku <sku> --app-path <path>   # Run function app
fnx start --sku list                         # List available SKUs
fnx warmup [--sku <sku>] [--all]            # Pre-download host + bundle
fnx sync [host|extensions] [--sku <sku>]    # Reconcile cache with latest catalog / rollback
fnx templates-mcp                            # Start MCP server for AI agents
fnx pack --app-path <path>                # Package function app as deployment zip

Upgrades, Rollbacks, and Cache Retention

  • On fnx start, fnx warmup, and fnx sync, fnx attempts to refresh the SKU catalog from CDN first.
  • If catalog host version is newer than your local cache, fnx highlights that and recommends fnx sync (or fnx sync host).
  • If catalog host version is lower than a locally cached version (service rollback), fnx warns and recommends syncing back to the supported host.
  • fnx sync defaults to keeping only the latest 2 host and bundle versions to avoid cache bloat (--keep <n> to override).
  • fnx also checks npm for newer fnx CLI releases and prints an upgrade tip when available.
  • Version comparisons use numeric dot-segment precedence (e.g. 4.1047.100 > 4.1046.999) with support for v prefixes and pre-release suffixes.

MCP Server (for AI Agents)

fnx includes an MCP server that exposes Azure Functions templates to AI coding assistants:

// .vscode/mcp.json
{
  "servers": {
    "azure-functions-templates": {
      "type": "stdio",
      "command": "npx",
      "args": ["@vrdmr/fnx-test", "templates-mcp"]
    }
  }
}

Or use the direct entrypoint for faster cold starts:

{
  "servers": {
    "azure-functions-templates": {
      "type": "stdio",
      "command": "npx",
      "args": ["fnx-template-mcp"]
    }
  }
}

Features

  • SKU-aware — match the exact host version your target Azure environment runs
  • Zero dependencies — pure Node.js 18+, no native modules
  • Offline-capable — bundled profiles + cached hosts work without network
  • Auto Azurite — storage emulator starts automatically for blob/queue/timer triggers
  • .NET isolated only — blocks in-process .NET projects with migration guidance
  • MCP integration — AI agents can discover templates and SKU profiles

Requirements

  • Node.js 18+
  • ~200MB disk per host version (cached at ~/.fnx/)

License

MIT