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

@harness-fe/gateway

v4.5.0

Published

Harness-FE gateway: the only front door. Embeds @harness-fe/core in-process and exposes /mcp (agent MCP, RBAC + scoped manifest + audit), /ws (runtime WS, write scope), and /console (data + governance API). Policy: Open (solo loopback) | Governed (team to

Downloads

648

Readme

@harness-fe/gateway

Governance gateway for Harness-FE — token + RBAC + project→agent binding + audit + admin, sitting in front of one or more daemons. Team mode only; solo dev doesn't need it (the agent talks to a loopback daemon directly).

Zero native deps — JSON file store + node:crypto scrypt.

New to harness-fe? Start with the agent setup guide and install the skill first.

What it does

Agents reach a shared daemon only through the gateway, which:

  • verifies the caller's token → identity + scope + project grants
  • gates by scope (RBAC): control / read / write
  • routes by token → target daemon, injecting the verified caller (x-harness-caller + x-harness-projects)
  • filters tools/list by scope (dynamic manifest — a read token never sees page.*)
  • audits every call (append-only)
  • serves an HTML admin panel (servers / tokens / audit)

The gateway never implements tools or holds data — that's the daemon.

Run

harness-gateway --port 47950 --data-dir ~/.harness-fe/gateway \
  --admin-user admin --admin-pass "$PW" \
  --add-server  name=team,endpoint=http://127.0.0.1:47900,token="$DAEMON_SECRET" \
  --issue-token name=agentA,server=team,scopes=read+control,projects=my-app

| Flag | Meaning | |---|---| | --port / --host | bind (default 47950 / 127.0.0.1) | | --data-dir | store dir (default ~/.harness-fe/gateway) | | --admin-user / --admin-pass | bootstrap the first admin (only if none exists) | | --add-server name=,endpoint=,token= | register an upstream daemon (idempotent by name) | | --issue-token name=,server=,scopes=read+control[,projects=a+b] | mint a scoped token, printed once. No projects* (all) |

Full guide: docs/gateway-team-mode.md. One-command demo: bash scripts/demo.sh.

Library

import { createGateway, GatewayStore } from '@harness-fe/gateway';
const store = new GatewayStore('/path/to/data');
const gw = createGateway({ store });
await gw.listen(47950);

License

MIT