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

@weave-framework/check

v3.5.0

Published

Weave template type-checking — virtual .ts generation + tsc, mapped back to source.

Readme

@weave-framework/check

Weave project type-checking — templates through virtual .ts generation + tsc, mapped back to source, and the ordinary modules beside them in the same program.

Part of Weave — a fine-grained reactive, signal-native UI framework: no Virtual DOM, zero third-party runtime dependencies.

npm install -D @weave-framework/check

Usually run through the CLI (weave check). Scaffolded apps already include it:

npm create weave@latest my-app

What it does

Every .ts under the checked roots is type-checked, components and plain modules alike — a service or a store is not somebody else's problem. And type-checking stops at the template boundary in most toolchains; here it doesn't: each template is compiled into a virtual TypeScript file whose expressions are the template's expressions, that file is handed to tsc, and every diagnostic is mapped back through a source map to the line and column in the template you actually wrote.

So a typo in an interpolation, a misspelled prop on a child component, or a call with the wrong argument type is a build error with a real location — not a blank screen at runtime.

import { checkProject } from '@weave-framework/check';

const diagnostics = checkProject(['src']); // one or more roots to walk

Each diagnostic carries the file, line, column, and message. runCheck is the lower-level single-run entry, buildVirtualSfc / buildVirtualSeparate (from @weave-framework/check/emit) produce the virtual file plus its mapping, and offsetToLineCol converts an offset for reporting.

typescript is a peer dependency — the check runs against the same TypeScript your project uses.

📚 Guides + full API reference: Tooling guide

License

MIT