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

@bext-stack/tsc-rs

v0.1.1

Published

tsc-rs — TypeScript compiler in Rust. Drop-in replacement for tsc + a long-running stdin/stdout pipe API used by bext's PRISM dispatcher. Ships prebuilt binaries via per-platform optionalDependencies.

Readme

@bext-stack/tsc-rs

tsc-rs is a TypeScript compiler in Rust. It implements the parts of tsc needed by bext's PRISM dispatcher (parse, typecheck, JSX → JS emit, source maps), plus a long-running stdin/stdout pipe API used for per-module transforms during PRISM compile.

This package ships prebuilt binaries for major platforms via per-platform optionalDependencies. npm/pnpm/yarn install only the one matching your host's process.platform/process.arch.

Install

npm install @bext-stack/tsc-rs

Use as a CLI

npx tsc-rs --target es2022 --outDir dist src/index.ts

Use programmatically

import { resolveBinaryPath } from "@bext-stack/tsc-rs/lib/resolve.mjs";
import { spawn } from "node:child_process";

const tscrs = resolveBinaryPath();
const child = spawn(tscrs, ["--noEmit", "src/index.ts"], { stdio: "inherit" });

bext-server's find_tscrs_binary() walks up from CWD looking for ./node_modules/.bin/tsc-rs first — installing this package makes the binary discoverable without the TSCRS_PATH env var or hardcoded $HOME/ts-rs/target/release/tsc-rs paths.

Override

If you have a locally-built binary you want to use instead, set TSCRS_PATH to its absolute path. Both the npm shim (bin/tsc-rs.mjs) and bext-server's Rust resolver respect it.

Supported platforms

| platform | arch | package | |---|---|---| | linux | x64 | @bext-stack/tsc-rs-linux-x64 | | linux | arm64 | @bext-stack/tsc-rs-linux-arm64 (planned) | | darwin | x64 | @bext-stack/tsc-rs-darwin-x64 (planned) | | darwin | arm64 | @bext-stack/tsc-rs-darwin-arm64 (planned) | | win32 | x64 | @bext-stack/tsc-rs-win32-x64 (planned) |

Other platforms throw a clear error with a TSCRS_PATH workaround. The optionalDependencies list reserves the package names so the cross-platform publish flow can drop a binary at the same name.

License

MIT