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

pi-julia

v0.1.0

Published

Julia TTFX eliminator for pi — persistent DaemonMode server + exec tools

Readme

pi-julia

A pi extension that eliminates Julia's TTFX (time-to-first-execution) problem and brings full code intelligence to LLM-driven Julia workflows.

It runs two background services:

  • DaemonMode.jl — a persistent warm Julia process so the agent can execute code without paying compilation cost on every call.
  • LanguageServer.jl — a full LSP server for hover docs, diagnostics, completions, and go-to-definition.

Requirements

  • Julia ≥ 1.9
  • pi installed

Installation

pi install pi-julia

On first use, pi-julia will automatically install DaemonMode.jl into Julia's global environment. This is a one-time step and does not touch your project's Project.toml. LanguageServer.jl is resolved from your VS Code Julia extension if installed, or installed into the global environment otherwise.

Usage

Start both servers for a project:

/julia-start /path/to/project

Or pass no path to auto-detect the nearest Project.toml, falling back to Julia's global environment if none is found:

/julia-start

Stop both servers:

/julia-stop

Once started, the agent has access to these tools:

| Tool | Description | |---|---| | julia_start | Start (or restart) both servers | | julia_stop | Stop both servers | | julia_run_file | Execute a .jl file via DaemonMode (no TTFX) | | julia_run_expr | Execute a Julia code block via DaemonMode (no TTFX) | | julia_doc | Fetch a docstring by symbol name via LSP | | julia_hover | Docstring and type at a file position via LSP | | julia_diagnostics | Errors and warnings for a file (or all open files) via LSP | | julia_complete | Completion suggestions at a file position via LSP | | julia_definition | Go-to-definition for a symbol via LSP |

Configuration

Persist a project path and enable auto-start in ~/.pi/agent/settings.json:

{
  "pi-julia": {
    "projectPath": "/path/to/your/julia/project",
    "autoStart": true
  }
}

How it works

pi-julia
  │
  ├─ DaemonMode server
  │     julia --project=<path> -e 'using Revise; using DaemonMode; serve(<port>)'
  │     port is deterministic per project path — multiple projects run simultaneously
  │
  └─ LanguageServer.jl
        julia --project=<ls-env> -e 'using LanguageServer; runserver(stdin, stdout, <path>)'
        resolves env from VS Code extension, global env, or installs automatically

Revise.jl is loaded on the DaemonMode server so source edits are hot-reloaded without a restart. It is expected to be in your global Julia environment (standard for Julia development).

Limitations

  • ~400 ms overhead per julia_run_* call (Julia client process startup), independent of what the code does.
  • Adding a new package requires restarting the server (/julia-start again), since DaemonMode cannot load new packages into a running process.
  • LanguageServer.jl on Julia 1.12 has a known upstream stability issue (#1366).