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

opencalque

v2.4.0

Published

Draw 2D floor plans as JSON: walls, doors, rooms, furniture. Check, measure, export PDF, DXF, SVG.

Readme

OpenCalque

Free, open-source 2D floor plans, stored as plain JSON. This package is the command line and the MCP server of OpenCalque: an AI agent or a script draws, edits, checks and exports architectural plans with it (walls, doors, windows, rooms, furniture, dimensions, sheets). The same drawings open in the editor at opencalque.com and in the desktop app.

For an AI agent (MCP)

npx -y opencalque mcp

With Claude Code:

claude mcp add opencalque -- npx -y opencalque mcp

For Claude Desktop, Cursor, VS Code or any other MCP client, add this to its servers:

{ "opencalque": { "command": "npx", "args": ["-y", "opencalque", "mcp"] } }

The agent opens or creates a .opencalque file with open_drawing (give it an absolute path), reads the guide once with read_guide, then edits with apply_operations and looks at the result with describe_drawing, check_drawing, measure_drawing and view_drawing (a picture of the plan). npx -y opencalque mcp plan.opencalque starts on one file.

From the command line

npx opencalque new plan.opencalque "My flat"
npx opencalque apply plan.opencalque ops.json   # a JSON array of operations
npx opencalque check plan.opencalque            # rooms that do not close, walls drawn twice…
npx opencalque png plan.opencalque --out plan.png
npx opencalque pdf plan.opencalque --out plan.pdf
npx opencalque guide                            # the format and the operations, written for an AI agent
npx opencalque --help                           # every command

Also: describe, quantities (rooms and their areas, walls, doors), svg, dxf, import (DXF), schema, validate.

The format

A drawing is JSON in millimetres, with a published JSON Schema: document, operations. Every edit is a small JSON operation, the same ones the editor uses. A guide for language models is at opencalque.com/llms-full.txt. Drawings saved since version 1.0 keep opening in every later version.

PDF export of Chinese, Japanese or Korean text needs the fonts of a checkout or the desktop app; this package carries only Noto Sans.

MIT licence. Source, issues and the desktop app: github.com/laurent512/opencalque.