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

@zenithbuild/language-server

v0.6.1

Published

Language Server for Zenith Framework

Readme

@zenithbuild/language-server ⚡

The Language Server Protocol (LSP) implementation for the Zenith framework.

Overview

This package provides the "brains" for Zenith editor support. It implements the Language Server Protocol to provide features like autocomplete, hover information, diagnostics, and code actions across any supporting editor (VS Code, Vim, etc.).

Features

  • Diagnostics: Real-time error reporting and linting for .zen files.
  • Completion: Context-aware suggestions for Zenith-specific syntax and standard HTML.
  • Hover Information: Detailed documentation on hover for core components and hooks.
  • Document Symbols: Outline and navigation support for complex components.
  • Contract Enforcement:
    • on:click={handler} event syntax diagnostics + quick fixes for onclick / @click.
    • Component script policy (zenith.componentScripts: forbid | allow).
    • CSS import contract diagnostics for local precompiled CSS only.
  • Project Root Resolution:
    • nearest zenith.config.*
    • nearest package.json with @zenithbuild/cli
    • workspace-aware fallback heuristics

Settings

  • zenith.componentScripts
    • forbid (default): components may not contain <script>.
    • allow: disables the component-script contract diagnostic.

Architecture

The server is built with vscode-languageserver and is designed to be decoupled from the VS Code extension, allowing it to be reused in other IDEs or environments.

Development

# Build the server
bun run build

# Run in watch mode
bun run dev

License

MIT