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

@agent-format/jp-court

v0.1.3

Published

@agent-format/renderer plugin: jp-court (相続関係説明図) visual template for family-graph sections. Japanese legal-filing typography, double-line spouse edges, PDF export. Does NOT filter persons — the .agent file is the source of truth.

Downloads

490

Readme

@agent-format/jp-court

agent-format renderer plugin that provides a Japanese court (相続関係説明図) visual template for family-graph sections.

Status: Draft v0.1.

Install

npm install @agent-format/jp-court

Peer deps: @agent-format/renderer, react, react-dom.

Usage

import { AgentRenderer } from '@agent-format/renderer'
import '@agent-format/renderer/styles.css'
import { jpCourtPlugin } from '@agent-format/jp-court'
import data from './estate.agent.json'

export default function Page() {
    return <AgentRenderer data={data} plugins={[jpCourtPlugin]} />
}

In your .agent file, set the variant on a family-graph section:

{
  "id": "s1",
  "type": "family-graph",
  "label": "相続関係説明図",
  "order": 0,
  "data": {
    "variant": "jp-court",
    "persons": [...],
    "relationships": [...]
  }
}

If jpCourtPlugin is registered, the section renders in the jp-court visual template. If the plugin is not registered, the renderer falls back to the default genealogy layout.

What this plugin does and does NOT do

Does

  • Japanese-legal typography — name labels as (被相続人), (配偶者), etc. via each person's role field
  • 出生 / 死亡 / 最後の住所 prefixes on person blocks
  • Double horizontal line for spouse relationships (standard Japanese court convention)
  • Dashed line for dissolved spouse relationships
  • PDF export button — downloads a print-ready A3 landscape HTML; open in any browser and ⌘P to save as PDF (裁判所・法務局提出想定)

Does NOT

  • Filter persons. This plugin renders every person listed in data.persons. If a court filing should only include heirs under 民法 887 (descendants excluding ascendants), edit the .agent file upstream to include only those persons. The renderer is not a legal rules engine.
  • Compute inheritance shares. Role labels come from the file's role field; this plugin doesn't calculate who's a heir or what share they get.
  • Validate 民法 conformance. The output format matches court-accepted typography, but correctness of the data is the author's responsibility.

License

MIT.