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

@kite-lang/cli

v0.1.9

Published

The Kite compiler, as an npm dependency. `kitec` itself, not a copy of it.

Readme

@kite-lang/cli

The Kite compiler, as an npm dependency.

npm install --save-dev @kite-lang/cli
{
  "scripts": {
    "check": "kitec check src/main.kite",
    "fmt": "kitec fmt src/main.kite"
  }
}

It is kitec, not a copy of it. There is no reimplementation here and nothing compiled to WebAssembly — node_modules/.bin/kitec is the same binary a terminal runs, so a script and a terminal cannot answer differently. Every argument, both streams and the exit code pass straight through.

How the binary gets there

One package per platform, each holding the compiler for it, listed as optionalDependencies with os and cpu set. npm installs the one that matches and skips the rest. That is how esbuild and swc do it, and the reason is the same: no postinstall script and no download at install time, so adding the compiler to a project runs no code and fetches nothing beyond the package itself.

| | | |---|---| | @kite-lang/cli-darwin-arm64 | macOS, Apple silicon | | @kite-lang/cli-darwin-x64 | macOS, Intel | | @kite-lang/cli-linux-arm64 | Linux, statically linked | | @kite-lang/cli-linux-x64 | Linux, statically linked | | @kite-lang/cli-win32-x64 | Windows |

kite-lsp comes with it, so an editor can find the language server the same way.

npm enforces the pairing rather than trusting it. Installing the macOS package on Linux is refused before anything is unpacked:

npm error code EBADPLATFORM
npm error notsup Unsupported platform for @kite-lang/[email protected]:
  wanted {"os":"darwin","cpu":"arm64"} (current: {"os":"linux","cpu":"x64"})

Building the platform packages

./build.sh                    # the platform you are on, from target/release
./build.sh path/to/release/   # every archive of a tagged release

Nothing is published yet, and the order matters:

  1. git push and tag a release, so CI builds all five targets reproducibly and signs the checksums. A compiler published from a laptop, built from source nobody can check out, is the trusting trust problem this project's release workflow goes to trouble to avoid.
  2. ./build.sh path/to/release/ to make the platform packages from those artefacts.
  3. npm login, then publish each platform package before this one — npm resolves optionalDependencies at install time, and a meta-package whose platform packages do not exist installs cleanly and then cannot find a compiler.

The name kite-cli was taken on npm by an unrelated project, which is why this is scoped.