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

@alisio/server

v0.4.4

Published

Local HTTP + SSE server behind `alisio serve`: multi-workspace, multi-session web access to the Alisio agent core with a launch-token cookie, strict Host/Origin checks and fail-closed approvals. node:http only; runs on Node >=22.16 and Bun.

Readme

@alisio/server

The local HTTP + SSE server behind alisio serve. It gives a browser multi-workspace, multi-session access to the Alisio agent core.

What it is

  • node:http only (no web framework, no WebSocket): JSON routes under /api and one multiplexed Server-Sent Events stream per browser tab (GET /api/events).
  • One @alisio/core Application per open workspace, created lazily and evicted when idle.
  • Local security model: binds 127.0.0.1 by default, a per-process launch token exchanged for an HttpOnly; SameSite=Strict cookie, strict Host/Origin checks, a strict CSP and fail-closed approvals (no answer means deny).
  • Runs on Node.js >= 22.16 and on Bun, with portable Node APIs only.

The CLI loads it with a dynamic import("@alisio/server") inside alisio serve, so alisio, alisio run and the TUI never load it.

Usage

Most people run it through the CLI:

alisio serve              # prints http://127.0.0.1:4317/?token=… and opens the browser
alisio serve --no-open --port 0 --allow-write

Embedding it directly:

import { startServer } from "@alisio/server";

const server = await startServer({ port: 0, app: { allowWrite: true } });
console.log(server.launchUrl);
// …
await server.close();

Plugins are not sandboxed: a trusted project's plugins run inside the server process with its operating-system permissions. Remote access (--host other than loopback) requires --allow-remote and has no TLS; prefer an SSH tunnel.

Documentation: https://gustavogutierrez.github.io/alisio/web.

License

MIT