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

@kongyo2/yome

v1.5.13

Published

Markdown viewer that opens .md files in a browser with live-reload

Downloads

209

Readme

yome

ci npm version License: MIT

yomek1LoW/mo の Node.js 移植版です。.md ファイルをブラウザで開き、保存と同時にライブリロードして表示する Markdown ビューアです。

オリジナルの Go 実装の挙動を尊重しつつ、npm から npx で気軽に呼び出せるよう Node.js + React で書き直しています。

特徴

  • ライブリロード: ファイルを保存するとブラウザが即座に再レンダリング
  • 単一サーバー方式: 既定ポート 6275 を共有し、後続の yome 呼び出しは既存セッションにファイルを追加する
  • グループ (タブ): --target で名前付きグループに分け、URL とサイドバーを分離
  • Watch モード: ディレクトリや glob パターンを監視し、新規ファイルも自動で取り込む
  • stdin 入力: パイプから渡した Markdown もその場でレンダリング
  • セッション復元: サーバー停止後も次回起動時に開いていたファイルを自動で復元
  • リッチなレンダリング:
    • GitHub Flavored Markdown
    • Mermaid 図 (フローチャート、シーケンス、ガント、Git グラフなど)
    • KaTeX 数式
    • Shiki によるシンタックスハイライト
    • GitHub Alerts (> [!NOTE] など)
    • フロントマター対応

必要要件

  • Node.js >= 20.10.0

インストール

# グローバルインストール
npm install -g @kongyo2/yome

# あるいは都度実行
npx @kongyo2/yome README.md

使い方

# 単一ファイルを開く
yome README.md

# 複数ファイルと glob
yome README.md CHANGELOG.md docs/*.md

# 名前付きグループで開く (URL 例: http://localhost:6275/design)
yome spec.md --target design

# ポート変更
yome draft.md --port 6276

# stdin から読む
cat notes.md | yome
some-command | yome --target output

# ディレクトリを再帰的に watch
yome -w -R docs/

サーバー操作

yome --status              # 起動中の yome サーバー一覧を表示 (orphan backup も検出)
yome --shutdown            # 起動中の yome サーバーをすべて停止 (--port 指定時はそのポートのみ)
yome --restart             # 状態を保ったまま再起動 (--port 指定時はそのポートのみ)
yome --clear               # 保存済みセッションを破棄 (確認プロンプトあり)
yome --clear --yes         # スクリプト / CI から非対話で破棄 (-y でも可)
yome --close path/to.md    # 指定ファイルだけグループから外す
yome --unwatch docs/       # watch パターンを解除

# 単発の ad-hoc プレビュー (前回 session を復元せず、今回の内容も backup に残さない)
yome SKILL.md --no-restore-session

--shutdown は次回起動でセッションを復元できるよう backup を残します。本当に忘れさせたい場合は --clear を使ってください。--status は backup だけが残っている (log は消えている) port を (saved session backup only) と表示します。

主なオプション

| オプション | 説明 | | ----------------------------------- | ----------------------------------------------- | | -t, --target <name> | グループ名 (既定: default) | | -p, --port <number> | ポート番号 (既定: 6275) | | -b, --bind <addr> | バインドアドレス (既定: localhost) | | -w, --watch | ディレクトリ / glob を watch パターンとして登録 | | -R, --recursive | サブディレクトリも再帰的に対象にする | | --open / --no-open | ブラウザの自動オープン制御 | | --no-restore-session | port のセッション backup を読み書きしない | | --foreground | サーバーをフォアグラウンドで動かす | | --json | 出力を JSON 形式で標準出力に流す | | -y, --yes | 確認プロンプトを自動 yes (--clear など) | | --dangerously-allow-remote-access | 非ループバックバインド時の警告を抑止 |

yome --help で全オプションが確認できます。

ライセンス

MIT License。

詳細は LICENSE を参照してください。