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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@peragus/peragusapp

v0.1.4

Published

AI-enhanced TypeScript notebook platform for productive development

Readme

Peragus banner

Peragus

Peragus is an AI-enhanced TypeScript notebook platform designed for productive development with AI assistance.

Peragus is open-source (apache2) and runs locally on your machine. You'll need to bring your own API key for AI usage (we strongly recommend Anthropic with claude-3-5-sonnet-latest).

Features

Notebooks

  • Create, run, and share TypeScript notebooks
  • Export to valid markdown format (.src.md)
  • Advanced AI assistance for exploring and iterating on ideas
  • Intelligent code completion and suggestions
  • Integrated debugging and testing capabilities
  • Diagraming with mermaid for rich annotations
  • Local execution with a web interface
  • Powered by Node.js with TypeScript optimizations

example notebook

FAQ

See our GitHub repository for frequently asked questions.

Getting Started

Peragus runs locally on your machine as a CLI application with a web interface.

Requirements

  • Node 18+, we recommend using nvm to manage local node versions
  • corepack to manage package manager versions

Installation

We recommend using npx to always run the latest version from npm:

# Using npm
npx @peragus/peragusapp@latest start

# Using your package manager equivalent
pnpm dlx @peragus/peragusapp@latest start

You can also install Peragus globally:

# Using npm
npm install -g @peragus/peragusapp

# Then run it using
peragusapp start

MCP Server Integration

Peragus can also be used as an MCP (Model Context Protocol) server, allowing AI models to access and manipulate TypeScript notebooks.

Using npx (Recommended)

"peragus": {
  "command": "npx",
  "args": [
    "-y",
    "@peragus/peragusapp"
  ],
  "env": {}
}

Using Node.js Directly (if installed locally)

"peragus-mcp-server": {
  "command": "node",
  "args": ["/path/to/node_modules/@peragus/peragusapp/dist/src/mcp-server/cli.js"],
  "env": {}
}

For more details, check our GitHub repository.

Docker Support

You can also run Peragus using Docker:

# Build the Docker image
docker build -t peragus/peragus-app .

# Run the container
# The -p flag maps port 2150 from the container to your host machine
# First -v flag mounts your local .peragus directory to persist data
# Second -v flag shares your npm cache for better performance
docker run -p 2150:2150 -v ~/.peragus:/root/.peragus -v ~/.npm:/root/.npm peragus/peragus-app

Make sure to set up your API key after starting the container. You can do this through the web interface at http://localhost:2150.

Commands

$ peragus -h
Usage: peragus [options] [command]

Peragus is an interactive programming environment for TypeScript with AI assistance

Options:
  -V, --version                 output the version number
  -h, --help                    display help for command

Commands:
  start [options]               Start the Peragus server
  import [options] <specifier>  Import a Notebook
  help [command]                display help for command

Uninstalling

You can remove Peragus by first removing the package, and then cleaning its local directory on disk:

rm -rf ~/.peragus

# if you configured a global install
npm uninstall -g @peragus/peragusapp

Analytics and tracking

In order to improve Peragus, we collect some behavioral analytics. We don't collect any Personal Identifiable Information (PII), our goals are simply to improve the application. The code is open source so you don't have to trust us, you can verify!

If you want to disable tracking, you can run Peragus with PERAGUS_DISABLE_ANALYTICS=true set in the environment.

Contributing

For development instructions, see our GitHub repository. We welcome contributions!

Acknowledgments

Peragus is based on Srcbook, an open-source TypeScript-centric app development platform. We'd like to thank the Srcbook team for their excellent work which provided the foundation for this project.