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

@sarap422/font-inconsolata-rule

v0.1.5

Published

A font for AA (Box Drawing) that contains only the box drawing characters (U+2500–257F, 128 characters) from the Inconsolata font.

Readme

Inconsolata Rule

Inconsolata の罫線(Box Drawing U+2500–257F、128字)だけを取り出したフォントです。AA(罫線アート)を、1マス幅の罫線でそろえるために使います。

英字・数字・日本語・記号は含みません。font-family の先頭に置くと、罫線だけがこのフォントで表示され、残りは次のフォントで表示されます。

2つの版

英字(半角)の幅に合わせて、倍率違いを用意しています。倍率 = 組み合わせるフォントの英字の幅 ÷ 0.5em です。

| 名前 | 倍率 | 罫線の幅 | 組み合わせるフォント | |---|---|---|---| | Inconsolata Rule | なし(1.0) | 500/1000 = 0.5em | 英字が 0.5em のフォント(Inconsolata + BIZ UDGothic など) | | Inconsolata Rule x1.0546875 | ×1.0546875 | 540/1024 = 0.527em | HackGen(英字 0.527em) |

倍率ありの版は、ファイル名に _x倍率、フォント名に x倍率 を付けています。

ファイル

| ファイル | 内容 | |---|---| | Inconsolata-Rule-Regular / -Bold(.ttf .woff2) | 倍率なし | | Inconsolata-Rule-Regular_x1.0546875 / Bold_x1.0546875(.ttf .woff2) | ×1.0546875 | | font-face.css | 倍率なしの @font-face | | font-face.x1.0546875.css | ×1.0546875 の @font-face | | OFL.txt | ライセンス |

使い方

Inconsolata + BIZ UDGothic(Web)

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@sarap422/[email protected]/font-face.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inconsolata:[email protected]&display=swap" media="print" onload='this.media="all"' />
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=BIZ+UDGothic:wght@400;700&display=swap">
font-family: 'Inconsolata Rule', 'Inconsolata', 'BIZ UDGothic', monospace;

Google Fonts の Inconsolata には罫線が含まれていないので(配信範囲が latin / latin-ext / vietnamese のみ)、Inconsolata Rule を先頭に置く必要があります。

HackGen(Web)

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@sarap422/[email protected]/font-face.x1.0546875.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@sarap422/[email protected]/font-face.css">
font-family: 'Inconsolata Rule x1.0546875', 'HackGen', monospace;

VS Code(TTF を OS にインストールしてから)

"editor.fontFamily": "'Inconsolata Rule x1.0546875', 'HackGen', monospace"

寸法

| 項目 | 倍率なし | ×1.0546875 | |---|---|---| | UPM | 1000 | 1024 | | 全字形の幅 | 500 | 540 | | 縦メトリクス | Inconsolata のまま(hhea 859 / −190) | HackGen と同じ(hhea 938 / −210) | | 縦線(│)の高さ | 1.400em | 1.477em | | ヒンティング | 元のまま | なし(拡大すると無効になるため) | | 収録 | 128字(Regular / Bold) | 128字(Regular / Bold) |

縦線を行をまたいでつなげるには、line-height を縦線の高さ以下にします(倍率なし:1.4 以下、×1.0546875:1.47 以下)。

AA を書くときのルール(Claude など、AA を書く側向け)

| 文字 | マス数 | |---|---| | ASCII、罫線(U+2500–257F) | 1 | | 日本語、全角記号(()/「」) | 2 | | 上記以外の記号(← → ● ■ ○ ◆ … ※ など) | フォントで変わるので、箱の中では使わない |

ライセンス

SIL Open Font License 1.1。元のフォントは Inconsolata(Copyright 2006 The Inconsolata Project Authors)です。罫線の抽出(倍率ありの版は、拡大とメトリクスの変更も)を行った改変版で、元のフォントの Reserved Font Name の指定はありません。