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

@kyaukyuai/mono-cli

v0.1.0

Published

CLI tool for mono — growth platform for indie developers

Readme

@kyaukyuai/mono-cli

mono(個人開発者のためのグロースプラットフォーム)のコマンドラインツール。

作品・記事・質問・プロフィールの管理をターミナルから行えます。

インストール

npm install -g @kyaukyuai/mono-cli

インストール後、mono コマンドで実行できます。

クイックスタート

# 1. Webダッシュボード(設定 → APIトークン)でトークンを作成

# 2. ログイン
mono auth login --pat mono_xxxxxxxx...

# 3. 確認
mono auth whoami

# 4. 作品一覧
mono works list --json

コマンド

| グループ | コマンド | 説明 | |---------|---------|------| | auth | login, logout, whoami | 認証管理 | | works | list, get, create, update, delete | 作品のCRUD | | articles | list, get, create, update, delete, publish | 記事のCRUD + 公開切替 | | questions | list, get, create, update, delete, answer | Q&AのCRUD + 回答 | | profile | get, update | プロフィール取得・更新 | | upload | <file> | 画像アップロード → URL取得 | | schema | <resource> | JSON Schema表示 |

グローバルオプション

--json          JSON出力
--ndjson        NDJSON出力(リスト向け)
--fields <f>    フィールドマスク(カンマ区切り)
--dry-run       バリデーションのみ(APIコールなし)
--base-url <u>  APIベースURL上書き
--token <pat>   トークン上書き
--verbose       デバッグ出力

使用例

# 作品を作成(事前検証 → 本番実行)
mono works create --json-data '{"title":"My App","category":"Webアプリ","description":"素晴らしいアプリです"}' --dry-run
mono works create --json-data '{"title":"My App","category":"Webアプリ","description":"素晴らしいアプリです"}' --json

# 記事を作成して公開
mono articles create --json-data '{"title":"開発日記","body":"本文..."}' --json
mono articles publish <id> --json

# 質問に回答
mono questions answer <id> --json-data '{"body":"回答の本文を20文字以上で記述してください"}' --json

# プロフィール更新
mono profile update --json-data '{"bio":"新しい自己紹介"}' --json

# 画像アップロード → 作品作成
mono upload ./screenshot.png --json
# => { "url": "https://...", "fileName": "...", "size": 12345, "type": "image/png" }
mono works create --json-data '{"title":"My App","category":"Webアプリ","description":"素晴らしいアプリです","thumbnailUrl":"https://..."}' --json

# スキーマ確認
mono schema works.create

認証

Personal Access Token (PAT) を使用。優先順位:

  1. --token <PAT> フラグ
  2. MONO_TOKEN 環境変数
  3. ~/.mono/config.json

開発

npm run build    # TypeScriptコンパイル
npm run dev      # watchモード
npm run clean    # dist/ 削除

ライセンス

MIT