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

interlinear

v0.1.0

Published

Post-editing IDE for AI translations of PDFs — a Vite plugin, React runtime, and Claude Code skills for translating a PDF page-by-page and reading it side-by-side with the original.

Readme

interlinear

The framework behind interlinear — a post-editing IDE for AI translations of PDFs. It ships three things:

  • a Vite plugin that discovers per-doc pages and serves the bilingual viewer,
  • a React runtime (the side-by-side reader: left = original PDF image, right = translated page, plus search, navigation, theming), and
  • the Claude Code skills that drive translation and editing.

There is no LLM runtime of its own — translation and refinement run inside your own Claude Code session via the bundled skills.

Install

pnpm add -D interlinear
# peers: react, react-dom, vite

Use

Wire the plugin into a Vite + React app:

// vite.config.ts
import react from '@vitejs/plugin-react';
import { interlinearPlugin } from 'interlinear/vite';
import config from './interlinear.config';

export default {
  plugins: [
    react(),
    interlinearPlugin({ userCwd: __dirname, docsDir: config.docsDir }),
  ],
};

Render a page component with the runtime:

import { BilingualPage } from 'interlinear';
import 'interlinear/styles/tokens.css';

Each source PDF becomes a doc under docs/<docId>/ with one pages/page-NNNN/index.tsx component and one page-NNNN.png per page. pnpm --filter <app> build produces a static reader — pages render to static JS, each doc's images are copied in, and a per-doc search-index.json powers full-text search (across both the translation and the original PDF text) entirely client-side. Deploy the output to any static host; no backend.

Exports

| Entry | Contents | |-------|----------| | interlinear | React runtime: BilingualPage, PageScroller, SearchBar, doc context, hooks. | | interlinear/vite | interlinearPlugin + dev-only editing/search endpoints. | | interlinear/config | InterlinearConfig type and helpers. | | interlinear/styles/tokens.css | Design tokens (CSS custom properties). |

Skills

Bundled under the package's skills/ directory, run from a Claude Code session:

| Skill | What it does | |-------|--------------| | translate-pdf | Translate the PDF in a doc's config into per-page TSX. | | apply-comments | Apply inline @page-comment markers left while reviewing. | | ask-doc | Answer document-level questions from the DocChat sidebar. | | refine-term | Rename a term consistently across every page's prose. |

License

MIT