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

uni-run

v2.0.2

Published

A universal CLI tool to run scripts in any language — JavaScript, TypeScript, Python, Java, C, C++, Rust, Go, Ruby, PHP, Dart, Lua, and more. One command, any script, with watch mode, benchmarking, and automatic runtime detection.

Readme

uni-run

A universal CLI tool to run scripts in any language — JavaScript, TypeScript, Python, Java, C, C++, Rust, Go, Ruby, PHP, Dart, Lua, and more. One command, any script, with watch mode, benchmarking, and automatic runtime detection.

Features

  • 19+ languages supported out of the box, including compiled languages (C, C++, Rust, C#)
  • Watch mode — automatically re-runs on file changes with .gitignore-aware filtering
  • Reload keys — press Ctrl+R or F5 to re-run without saving
  • Benchmarking — measure execution time with --bench
  • Configurable runtimes — swap between node/bun/deno, python/uv, and more via ~/.uni-run.json
  • Environment variables — inject env vars with --env KEY=VALUE
  • Exec mode — run any arbitrary binary with run exec
  • Cross-platform — works on Windows, macOS, and Linux

Installation

npm install -g uni-run

CLI Usage

run <script> [options] -- [args for script]
uni-run <script> [options] -- [args for script]

rux / uni-rux are aliases that run once and exit (no watch mode, keeps console output):

rux <script> [options] -- [args for script]
uni-rux <script> [options] -- [args for script]

Examples

run ./main.ts
run ./main.py
run ./Main.java
run ./hello.c
run ./main.js -- --port 3000

Subcommands

run exec <binary> [args]     # Execute an arbitrary binary
run list                     # List all supported script types
run clean                    # Clean the temp/cache directory

Options

Watch Mode

| Flag | Alias | Description | | ------------------------ | ----- | ------------------------------------------- | | --do-not-watch | -dw | Disable watch mode | | --ext <exts...> | -e | Watch only specific extensions | | --focus <paths...> | -f | Watch only specific paths (chokidar syntax) | | --ignore <patterns...> | -ig | Exclude paths (.gitignore syntax) | | --delay <ms> | -d | Debounce delay in ms (default: 100) |

Reload / Console

| Flag | Alias | Description | | ---------------------- | ------ | ----------------------------- | | --disable-reload-key | -dk | Disable Ctrl+R / F5 reload | | --disable-raw-stdin | -drs | Disable raw stdin mode | | --keep | -k | Don't clear console on reload | | --silent | -s | Suppress script output |

Execution

| Flag | Description | | ---------------------- | ------------------------------------- | | --exit | Run once and exit (default for rux) | | --shell | Run in shell mode | | --cwd <path> | Set working directory | | --env <KEY=VALUE...> | Set environment variables | | --node-dev | Set NODE_ENV=development |

Benchmarking / Info

| Flag | Alias | Description | | ----------------------- | ----- | ---------------------------------- | | --bench | -b | Show execution time | | --bench-prefix <text> | -bp | Custom prefix for benchmark output | | --info | | Show execution information | | --time | | Show start time |

Configuration

Create ~/.uni-run.json to override default runtimes:

{
  "$schema": "https://github.com/NazmusSayad/uni-run/raw/refs/heads/main/public/uni-run.schema.json",
  "runtime": {
    "python": "uv",
    "javascript": "bun",
    "typescript": "deno"
  }
}

Configurable Runtimes

| Language | Options | Default | | ---------- | ------------------------------- | ------------ | | JavaScript | node, deno, bun | node | | TypeScript | tsx, ts-node, deno, bun | tsx | | Python | python, python3, uv | python | | Dart | dart, dartvm | dart | | PowerShell | powershell, pwsh | powershell | | Shell | bash, zsh, sh | bash | | Lua | lua, luac, luajit | lua |

Supported Languages

| Language | Extensions | | ------------------ | ------------------------------------------ | | JavaScript | .js .jsx .mjs .cjs .cjsx .mjsx | | TypeScript | .ts .tsx .mts .cts .mtsx .ctsx | | Python | .py | | Java | .java | | Dart | .dart | | PowerShell | .ps1 | | Command Prompt | .cmd .bat | | Shell Script | .sh | | Fish Shell | .fish | | Lua | .lua | | Ruby | .rb | | Go | .go | | C (GCC) | .c | | C++ (G++) | .cpp | | C# (Mono) | .cs | | Rust (rustc) | .rs | | SASS/SCSS | .sass .scss | | PHP | .php | | HTML (live-server) | .html .htm |

Compiled languages (C, C++, C#, Rust) are compiled to a temp directory and executed automatically. Use run clean to remove compiled artifacts.