Socket
Socket
Sign inDemoInstall

@augu/ichigo

Package Overview
Dependencies
1
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @augu/ichigo

💌 Discord RPC client made in TypeScript


Version published
Weekly downloads
8
Maintainers
1
Install size
48.6 kB
Created
Weekly downloads
 

Readme

Source

Ichigo

:love_letter: | Discord RPC client made in TypeScript, based on discord-µrpc

Documentation | NPM

Example

import { Ichigo } from '@augu/ichigo';
const rpc = new Ichigo('');

rpc.on('open', () => console.log('[Ichigo] Opened connection.'));
rpc.on('error', (error) => console.error('[Ichigo] Unknown error!', error));
rpc.on('ready', () => {
    console.log('[Ichigo] Ready!');
    rpc.setActivity({
        instance: false,
        state: 'State',
        details: 'Details',
        timestamps: {
            start: new Date().getTime()
        }
    });
});

rpc.connect();

LICENSE

Ichigo is released under the MIT License, view here for more information.

FAQs

Last updated on 05 Jun 2020

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc