open-index/open-npm huggingface dataset:
npm package: @maistho/discord-rpc
Description: A simple RPC client for Discord
Author: snek
Latest version: 4.0.1

<div align="center">
  <br />
  <p>
    <a href="https://discord.gg/bRCvFy9"><img src="https://discordapp.com/api/guilds/222078108977594368/embed.png" alt="Discord server" /></a>
    <a href="https://www.npmjs.com/package/discord-rpc"><img src="https://img.shields.io/npm/v/discord-rpc.svg?maxAge=3600" alt="NPM version" /></a>
    <a href="https://www.npmjs.com/package/discord-rpc"><img src="https://img.shields.io/npm/dt/discord-rpc.svg?maxAge=3600" alt="NPM downloads" /></a>
    <a href="https://david-dm.org/discordjs/RPC"><img src="https://img.shields.io/david/discordjs/RPC.svg?maxAge=3600" alt="Dependencies" /></a>
    <a href="https://www.patreon.com/devsnek"><img src="https://img.shields.io/badge/donate-patreon-F96854.svg" alt="Patreon" /></a>
  </p>
  <p>
    <a href="https://nodei.co/npm/discord-rpc/"><img src="https://nodei.co/npm/discord-rpc.png?downloads=true&stars=true" alt="NPM info" /></a>
  </p>
</div>

# Discord.js RPC Extension

### [Documentation](https://discord.js.org/#/docs/rpc/)

### [Rich Presence Example](https://github.com/discordjs/RPC/blob/master/example)

### Example

```javascript
const clientId = '187406016902594560'
const scopes = ['rpc', 'rpc.api', 'messages.read']

const client = new RPC.Client({ transport: 'ipc' })

client.on('ready', () => {
  console.log('Logged in as', client.application.name)
  console.log('Authed for user', client.user.username)

  client.selectVoiceChannel('81384788862181376')
})

// Log in to RPC with client id
client.login({ clientId, scopes })
```
npm package: @maisyt/tauri-fs-util
Description: A helper utility library for accessing filesystem when using Tauri. Also provide another implementation of Node (local fs) for unit test purpose.
Author: MaisyT
Latest version: 0.1.0

# Tauri File System Util

A helper utility library for accessing filesystem when using Tauri.
Also provide another implementation of Node (local fs) for unit test purpose.

See the [IFileSystem interface](./src/filesystem/IFileSystem.ts) for function provided.