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

permission-to-japanese

v2.0.1

Published

Discordの権限を日本語に翻訳します。

Readme

PermissionToJapanese

Discordの権限を日本語に変換します。

  • 引数

    • permissions
    • options
      • Permissionsで一部置き換えたいものがある場合に使用します。
        • 例:permissionToJapanese(["CONNECT", "SPEAK"], { SPEAK: "しゃべる" })
          • 戻り値:[ "接続", "しゃべる" ]
  • 使い方

    • 自分が持っている権限
    const permissionToJapanese = require("permission-to-japanese");
    
    client.on('messageCreate', message => {
      if (message.author.bot) return;
      if (message.content === "!permissions") {
        console.log(permissionToJapanese(message.member.permissions.toArray()));
      }
    });
    • 使用したメンバーがサーバーのオーナーだった場合:
      [
        '招待を作成',
        'メンバーをキック',
        'メンバーをBAN',
        '管理者',
        'チャンネルの管理',
        'サーバーの管理',
        'リアクションの追加',
        '監査ログを表示',
        '優先スピーカー',
        'WEB カメラ',
        'チャンネルを見る',
        'メッセージを送信',
        'TTSメッセージを送信',
        'メッセージの管理',
        '埋め込みリンク',
        'ファイルを添付',
        'メッセージ履歴を見る',
        '@​everyone、@​here、全てのロールにメンション',
        '外部の絵文字を使用',
        'サーバーインサイトを見る',
        '接続',
        '発言',
        'メンバーをミュート',
        'メンバーのスピーカーをミュート',
        'メンバーを移動',
        '音声検出を使用',
        'ニックネームを変更',
        'ニックネームの管理',
        'ロールの管理',
        'ウェブフックの管理',
        '絵文字とステッカーの管理',
        'スラッシュコマンドの使用',
        'スピーカー参加をリクエスト',
        'スレッドの管理',
        '公開スレッドの作成',
        'プライベートスレッドの作成',
        '外部のステッカーの使用'
      ]