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

@lensmap/language-server

v0.4.0

Published

Experimental Lensmap language server with an authenticated loopback browser preview

Readme

@lensmap/language-server

Experimental Lensmap stdio language server and authenticated loopback browser preview. Includes its compiled browser assets; npm installs the document engine and other runtime dependencies before startup. No workspace checkout, pnpm, Rust, runtime dependency download or separate web server is needed to run it.

Requires Node 24.16 or newer. ESM only. The API and document format are experimental. Native host integration is currently qualified on Linux/X11; other platforms are not yet qualified. Automatic browser launching uses xdg-open; --no-open leaves opening the preview URL to the host/client.

npm install --global @lensmap/language-server
lensmap-lsp --help
lensmap-lsp --configure-zed --zed /usr/bin/zeditor

The last command prints settings, without modifying your editor. Use your verified Zed executable path. Keep the Node installation and package path stable, and regenerate settings if either changes. Zed still requires the separately installed Lensmap dev extension from the source repository's editors/zed directory; the npm package does not install or register an editor extension.

The editor launches lensmap-lsp --stdio. Its stdout is reserved for LSP; it is not a standalone saved-file viewer or persistent background web daemon. Attach a .lensmap buffer and invoke Lensmap: Open preview through editor code actions. The server defaults to its package-local built viewer. --assets PATH remains available for development/custom assets.

Preview URLs and API tokens are private per-run credentials. Do not log, paste or retain them in traces. The server binds to loopback, validates Host/Origin, and limits source access to attached buffers. Content writes use revision checks and live-buffer readback, not atomic compare-and-swap.

See Zed setup, API and limitations. The library export exposes startServer and its TypeScript declarations; custom hosts supply their own assets and host callbacks. MIT licensed; see LICENSE.