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 🙏

© 2024 – Pkg Stats / Ryan Hefner

discid

v1.6.0

Published

A command-line tool to check a user's Discord status using Lanyard.

Downloads

17

Readme

discid

Downloads Version License Post

A simple command-line tool to check a user's Discord status using Lanyard, and get an output in a readable format.

Installation

npm install -g discid

Usage

[!IMPORTANT] The user must be in the Lanyard Discord server in order to retrieve information about them.

discid [userID]

You will need to replace [userID] with the ID of the user you are trying to fetch the status of. If you want an guide with images, visit this page, otherwise, you can follow these steps.

  1. Enable Developer mode by going to SettingsAdvancedDeveloper Mode, and check the toggle.

  2. Right click on a user and click the Copy User ID button.

  3. Go back to your command line and run the same command from above, replacing [userID] with the ID you copied.

For example, to check the status of the user iinter, you can run the following command:

discid 514106760299151372

Depending on what the user is doing, the otuput might return different things. Here is an example of what may be retuned:

iinter (lunar) • 🟢 Online
Listening To: Duvet by bôa on Twilight
Platform: Desktop
Avatar URL: https://cdn.discordapp.com/avatars/514106760299151372/d14e90a16144987f53f5a3700aacc934.png

These are returned because the status of the user is set to 'Online' and they are listening to the song 'Duvet' by 'bôa' at the time the command was ran.

To see everything that can be displayed and more detailed information, see this page.

Options

| Option | Description | | ----------- | ----------- | | --json | Shows a formatted, syntax-highlighted JSON response of information about the user from https://api.lanyard.rest/v1/users/:user_id, replacing :user_id with the user ID you entered. | | --visit, --open | Opens the user's profile on the Discord website (in your browser). This works with any user on Discord. | | --kv | Output's the user's Lanyard key-value (KV) pairs (see here for more information). |


License

©️ 2024 - Licensed under the MIT License.