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

bloumechat

v4.0.0

Published

Official JavaScript/TypeScript SDK for BloumeChat — build bots, automations and integrations with a strongly-typed, Discord-like API.

Downloads

16,799

Readme


🚀 Getting Started

To get started quickly, we provide an official Bot Starter Template containing all the necessary architecture (Event handler, Command handler, Documentation).

👉 Use the Official Bot Starter Template

Or, you can install the SDK manually via npm:

npm install bloumechat

🔒 Provenance & Supply Chain Security

Every published version of bloumechat is built and signed on GitHub Actions using npm provenance (backed by Sigstore and the SLSA framework). This gives you a publicly verifiable, cryptographic link between the code on npm and the exact source commit and workflow run that produced it — no manual npm publish from a local machine, ever.

| | | |---|---| | Built and signed on | ✅ GitHub Actions | | Source Commit | github.com/BloumeSAS/bloumechat-sdk@<commit> | | Build File | .github/workflows/publish.yml | | Public Ledger | Sigstore transparency log |

You can verify the provenance of any published version yourself:

npm view bloumechat --json | grep -A 10 attestations

Or check the "Provenance" panel directly on the npm package page — it links to the exact commit, workflow file, and transparency log entry for every release.


🌟 Key Features

  • ⚡ Real-time Communication: Fully typed WebSocket events mapped intuitively (messageCreate, memberAdd, etc.).
  • 🛠️ Comprehensive API Coverage: Direct access and management of Guilds, Channels, Roles, Members, and Messages.
  • 🖼️ Rich Embeds: Native EmbedBuilder for creating visually stunning layouts.
  • 🛡️ Full TypeScript Support: Built for TS out of the box with extensive caching and BigInt bitwise permission handling.

✍️ Example

import { BloumeChat } from "bloumechat";

const client = new BloumeChat();

client.on("ready", () => console.log(`Logged in as ${client.user?.username}`));

client.on("messageCreate", async (message) => {
  if (message.author.isBot) return;

  if (message.content === "!ping") {
    await message.reply("Pong! 🏓");
  }
});

// Login using your Bot Token provided at bloumechat.com/developers
client.login("YOUR_BOT_TOKEN");

📖 Full API reference and guides: dev.bloume.chat


🧪 Testing & Continuous Integration

The SDK ships with a Vitest unit test suite covering the client (token redaction, login validation, endpoint defaults), permission bitmask math, the Collection utility, EmbedBuilder, and the Role structure.

npm test            # run the full suite once
npm run test:watch  # watch mode
npm run test:coverage

Every push and pull request runs the CI workflow: type-checking, ESLint, a Prettier format check, the full test suite across Node 20/22/24, a build, and a dependency audit, plus a coverage report uploaded as a build artifact.

Releases publish automatically and require no manual step: merging a commit to main that bumps version in package.json triggers the publish workflow, which re-runs type-checking, lint, tests and the build, publishes to npm with provenance, then tags the commit and creates the matching GitHub Release. A manual GitHub Release (or workflow_dispatch) still works too, for one-off/hotfix publishes.

🤝 Contributing

Issues and pull requests are welcome on GitHub — see CONTRIBUTING.md for the full guide. Quick version:

npm install
npm run typecheck    # tsc --noEmit
npm run lint         # ESLint
npm run format:check # Prettier
npm test             # run the test suite
npm run build        # build dist/

npm run lint:fix and npm run format will auto-fix most lint/formatting issues.

Found a security issue? Please follow SECURITY.md instead of opening a public issue.

See CHANGELOG.md for release notes.

📄 License

Released under the ISC License.