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

@hanzo/office-addin

v1.9.31

Published

Hanzo AI for Microsoft Office — Word, Excel, and PowerPoint task pane. AI over your document, wired to the same api.hanzo.ai gateway and hanzo.id IAM as the browser extension.

Readme

Hanzo AI for Microsoft Office

A task-pane add-in that puts Hanzo AI inside Word, Excel, and PowerPoint — desktop and Office on the web. Select text or a range, open the Hanzo pane from the Home tab, ask, and insert the result. This is the surface a non-developer (a lawyer drafting in Word, an analyst in Excel) actually uses — distinct from the browser extension and the IDE extensions.

It reuses the same backend as everything else Hanzo: model calls go through api.hanzo.ai/v1 (OpenAI-compatible), sign-in is Hanzo IAM (hanzo.id, authorization-code + PKCE, HIP-0111). No new API surface.

What it does

  • Word — read the selection; draft, rewrite, summarize, or answer; insert after or replace the selection.
  • Excel — read the selected range (as TSV); analyze/transform; write the result down a column from the selection.
  • PowerPoint — read/replace the selected text on a slide.

The engine of the add-in is small, pure, and unit-tested (tests/): the chat request/response shaping (chat.ts), the PKCE + authorize URL (pkce.ts, verified against the RFC 7636 test vector), the Excel range↔text helpers (host.ts), and the endpoint contract (config.ts). The Office.js glue is thin.

Build

pnpm --filter @hanzo/office-addin build      # production (base https://office.hanzo.ai)
pnpm --filter @hanzo/office-addin test        # vitest

The build stamps the hosting base URL into dist/manifest.xml. Office loads the task pane from an HTTPS origin declared in the manifest; the same origin serves auth-callback.html (the IAM redirect target, which must be registered on the hanzo-office IAM client). Override the base for local dev:

HANZO_OFFICE_BASE=https://localhost:3000 pnpm --filter @hanzo/office-addin build

Try it (sideload — no store needed)

The add-in is not on AppSource yet, but sideloading gives a lawyer immediate use inside their own Office:

  • Office on the web: open Word/Excel on the web → Insert → Add-ins → Upload My Add-in → pick dist/manifest.xml. (dist/ must be served at the base URL over HTTPS.)
  • Windows / Mac desktop: put dist/manifest.xml in a shared-folder catalog (or use office-addin-debugging), then Home → Add-ins → Shared Folder.
  • Whole firm: an M365 admin deploys manifest.xml org-wide from the Microsoft 365 admin center → Integrated apps — every user gets the Hanzo button with no per-person install.

Publish (AppSource — public listing)

dist/manifest.xml is a valid, submittable manifest (verified by office-addin-manifest validate). To list publicly:

  1. Host dist/ at the production base (office.hanzo.ai) over HTTPS.
  2. Register the hanzo-office client in IAM with redirect https://office.hanzo.ai/auth-callback.html.
  3. Submit through Microsoft Partner Center → Office Store (needs a Partner Center account + Microsoft's validation pass).

Not here yet

  • Outlook (mail) is a different host category with its own manifest shape — a tracked follow-up, not this add-in.
  • Streaming responses (this v1 is a single non-streaming completion, which keeps the insert atomic).