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/nicomusicbot

v0.1.4

Published

Ink-powered TypeScript port of NicomusicBot for Discord voice playback from NicoNico.

Readme

NicomusicBot

Ask DeepWiki npm version CI

NicomusicBot を元にしたTypeScript 移植版です。 Discordのボイスチャンネルでニコニコ動画の音声を再生するためのbotです。

必要条件

  • Node.js >= 22.12.0

使い方

インストール不要で、npx コマンドを使用してすぐに起動できます。

npx @kongyo2/nicomusicbot

起動すると、インタラクティブなセットアップ画面が表示されます。必要な情報を入力してbotを起動してください。

オプション

CLIオプションを指定して、初期設定を上書きしたり、インタラクティブな画面をスキップしたりできます。

npx @kongyo2/nicomusicbot [options]

利用可能なオプション

  • --token <token>: Discord botのトークン
  • --prefix <prefix>: コマンドのプレフィックス (デフォルト: !)
  • --niconico-user <value>: ニコニコ動画のログインユーザー名/メールアドレス
  • --niconico-password <value>: ニコニコ動画のログインパスワード
  • --config <path>: 設定ファイルのパスを指定
  • --save-config: セットアップ後に設定を保存する
  • --no-save-config: 設定を保存しない
  • --skip-menu: 設定が有効な場合、メニューをスキップして即座に起動する
  • -h, --help: ヘルプを表示する

使用例

トークンなどを指定してメニューをスキップし、すぐに起動する例:

npx @kongyo2/nicomusicbot --token "YOUR_DISCORD_TOKEN" --skip-menu

環境変数

以下の環境変数を設定することでも、botの設定を行うことができます。

  • DISCORD_TOKEN: Discord botのトークン
  • NICOMUSICBOT_PREFIX: コマンドのプレフィックス
  • NICONICO_USER: ニコニコ動画のログインユーザー名/メールアドレス
  • NICONICO_PASSWORD または NICONICO_PASS: ニコニコ動画のログインパスワード

設定ファイルの保存場所

設定ファイルはデフォルトで以下の場所に保存されます。

  • Windows: %APPDATA%\nicomusicbot\config.json
  • macOS / Linux: ~/.config/nicomusicbot/config.json (または $XDG_CONFIG_HOME/nicomusicbot/config.json)

ライセンス

Unlicense