Socket
Book a DemoInstallSign in
Socket

@xhayper/discord-rpc

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xhayper/discord-rpc

a fork of discordjs/RPC

latest
Source
npmnpm
Version
1.3.0
Version published
Weekly downloads
2.6K
39.74%
Maintainers
1
Weekly downloads
 
Created
Source

@xhayper/discord-rpc


npm version discord

About

@xhayper/discord-rpc is a fork of discordjs/RPC with type safety and some additional features.

Example

import { Client } from "@xhayper/discord-rpc";

const client = new Client({
    clientId: "123456789012345678"
});

client.on("ready", () => {
    client.user?.setActivity({
        state: "Hello, world!"
    });
});

client.login();

Credits

Keywords

typescript

FAQs

Package last updated on 20 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts