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

@fuseplane/cli

v0.1.13

Published

The official CLI for Fuseplane, designed to simplify the integration of Fuseplane into your project.

Readme

@fuseplane/cli

The official CLI for Fuseplane, designed to simplify the integration of Fuseplane into your project.

Features

  • Automatic Framework Detection: Identifies your project framework (Next.js, Vite, etc.) and suggests the optimal configuration.
  • Dedicated Subdomain Routing: Automatically configures your project to route requests to your dedicated FusePlane subdomain (https://<id>.fuseplane.com).
  • One-Command Setup: Initialize your project with a single command that handles environment variables and proxy configuration.
  • Proxy Configuration: Automatically configures proxy settings for local development (Vite, Next.js, etc.) to forward requests securely.
  • Template Generation: Scaffolds necessary API routes and configuration files based on your deployment target (Vercel, Next.js, etc.).
  • Local Development Server: dev command to run a local proxy server for frameworks without native proxy support.

Installation

You can use the CLI directly with npx or install it globally.

Using npx (Recommended)

npx @fuseplane/cli init

Global Installation

npm install -g @fuseplane/cli

Usage

Initialize Fuseplane

Run the init command in your project root to set up Fuseplane:

fuseplane init
# or
npx @fuseplane/cli init

The CLI will:

  1. Detect your framework and language (TypeScript/JavaScript).
  2. Ask for your deployment platform (if applicable).
  3. Create or update your .env file with placeholders for FUSEPLANE_SECRET_KEY and FUSEPLANE_URL.
  4. Create a minimal fuseplane.config.json file.
  5. Generate the necessary API route handler or proxy configuration for your project.

Configuration

After running init, you MUST configure your environment variables in .env:

FUSEPLANE_SECRET_KEY=your_secret_key_here
FUSEPLANE_URL=https://<your-project-id>.fuseplane.com
  • FUSEPLANE_SECRET_KEY: Your project's secret key from the FusePlane dashboard.
  • FUSEPLANE_URL: Your dedicated FusePlane Gateway URL (e.g., https://a1b2c3d4.fuseplane.com).

How It Works

Local Development: The CLI injects a proxy configuration (e.g., in vite.config.ts or next.config.js) that intercepts requests starting with your Project ID (e.g., /a1b2c3d4/...). It securely adds your Secret Key and forwards the request to your dedicated FusePlane URL.

Production: The CLI generates a serverless function or API route (e.g., /api/p/[...path]) that handles production traffic. It uses the FUSEPLANE_URL and FUSEPLANE_SECRET_KEY from your production environment variables to route requests securely.

Supported Frameworks & Platforms

  • Next.js (App Router & Pages Router)
  • Vite (React, Vue, Svelte, etc.)
  • Vercel (Edge Functions & Serverless Functions)
  • Netlify (Functions)
  • Cloudflare Pages (Functions)
  • AWS Lambda
  • Express / Node.js (Railway, Render, etc.)

Local Development Server

If your framework doesn't support easy proxy configuration, you can use the Fuseplane dev server:

fuseplane dev
# or
npx @fuseplane/cli dev