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

libtypescript

v0.0.1

Published

Native, in-process build of the TypeScript compiler. In active development.

Readme

libtypescript

libtypescript is a C++ build of typescript-go, Microsoft's TypeScript 7 compiler, packaged as a library that anyone can embed: in-process in Node.js/Bun/Deno, in any language via C ABI, in the browser via WASM. Compiled from Microsoft's source, not rewritten.

It is also a drop-in replacement for TypeScript 7's compiler CLI (tsc/tsgo): same commands, same flags, same output, at native speed. Install libtypescript and you get the TS7 compiler you already use, plus the embeddable APIs it never had.

TypeScript 7 just made every custom transformer incompatible, and its new API ~600x slower. We bring them back, faster than ever.

The Go compiler is 10x faster, but it now lives in a child process behind an RPC API (7.1): measured against @typescript/api built from typescript-go HEAD, tsgo re-parses a 9 MB file in 0.37 ms, then takes 246 ms to hand you the result. That tax is paid by everyone who embeds the compiler: transformer authors (the ts-patch ecosystem), vue-tsc, typescript-eslint's type-aware rules, Angular's ngtsc, editors. typia's answer was a full Go rewrite; most maintainers can't take that path. libtypescript removes the tax instead:

  • In-process for Node / Bun / Deno. Zero-copy AST views + V8 fast calls. ~200x faster API calls than the official 7.1 RPC API. Still 2.4x faster than the classic pure-JS compiler API, at 3x less memory.
  • ts.* compat layer. The classic TypeScript 6 compiler API (frozen forever now) on top of the TS7 engine. Transformers, checker-based tooling and ts-patch-style plugins run again.
  • Embeddable everywhere. C/C++ API and WASM. Parse, resolve and instantiate TypeScript types from Python, Rust, Java, Go, C#; validate data and emit JSON Schema. TypeScript as the schema language, JSON Schema as a compile target.
  • Same compiler by construction. Mechanically compiled from typescript-go, not a reimplementation. New TypeScript release, new recompile.

Independent open-source project, not affiliated with or endorsed by Microsoft. "TypeScript" is a trademark of Microsoft Corporation; the compiler source is Apache-2.0.