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

@phantomguard/ikcheatniet

v1.0.3

Published

This is a NPM package that allows easy usage of the Ikcheatniet API.

Downloads

11

Readme

ikcheatniet

An open-source NPM package (API wrapper) for the ikcheatniet API.
This API allows you to look up Discord user IDs in a database of users associated with cheating servers. 🚫🎮

Features ✨

  • Query the ikcheatniet API to check if a Discord user ID is flagged as a cheater. 🔍
  • Easy-to-use methods for integration into your Node.js projects. 🛠️
  • Lightweight and open source. 🌟

Installation 📦

npm install @phantomguard/ikcheatniet

Usage 🚀

CommonJS

const Ikcheatniet = require("@phantomguard/ikcheatniet").default;

const api = Ikcheatniet.init("your_license_key");

const test = async () => {
  try {
    const result = await api.searchUser("discord_user_id", {
      type: "cheater",
    });
    console.log("Search Result:", result);
  } catch (error) {
    console.error(
      "An error occurred while searching for the user:",
      error.message
    );
  }
};

test();

ES Module

import Ikcheatniet from "@phantomguard/ikcheatniet";

const api = Ikcheatniet.init("your_license_key");

const test = async () => {
  try {
    const result = await api.searchUser("discord_user_id", {
      type: "cheater",
    });
    console.log("Search Result:", result);
  } catch (error) {
    console.error(
      "An error occurred while searching for the user:",
      error.message
    );
  }
};

test();

API 🛡️

Typings can be found here

Ikcheatniet.init(apiKey: string): Ikcheatniet

Initializes the API client with your license key.


searchUser(discordId: string, options: object): Promise<DiscordResponse | CheaterResponse>

Searches the ikcheatniet database for a Discord user ID.

  • discordId: The Discord user ID to search for.
  • options: Search options:
    • type: "discord" or "cheater".
    • searchType: "single" or "bulk" (only available for private licenses).

Example Response for type: "cheater"

{
  "message": "Success",
  "id": "123456789",
  "entries": ["1150775432485031936:server", "123456789012345678:server"]
}

Example Response for type: "discord"

{
  "message": "Success",
  "id": "1150775432485031936",
  "user": {
    "id": "1150775432485031936",
    "username": "exampleUser",
    "avatar": "avatar_url",
    "discriminator": "1234",
    "global_name": "Example User",
    "banner_color": "#FFFFFF",
    "created_at": "2023-01-01T00:00:00Z",
    "clan": {
      "identity_guild_id": "guild_id",
      "tag": "ClanTag"
    },
    "primary_guild": {
      "identity_guild_id": "guild_id",
      "tag": "PrimaryGuildTag"
    }
  }
}

getUserReputation(user: string | CheaterResponse): Promise<IkcheatnietReputation>

Gets the reputation amount for a user, it provides a string/number depending on what you need.

  • discordId: The Discord user ID or User Object to get the reputation from.

stats: Promise<IkcheatnietStats>

Get API statistics of Ikcheatniet


Types 🪪

type DiscordResponse = {
  message: string;
  id: string;
  user: {
    id: string;
    username: string;
    avatar: string;
    discriminator: string;
    global_name: string;
    banner_color: string;
    created_at: string;
    clan: {
      identity_guild_id: string;
      tag: string;
    };
    primary_guild: {
      identity_guild_id: string;
      tag: string;
    };
  };
};

type CheaterResponse = {
  message: string;
  id: string;
  entries: string[];
};

type IkcheatnietReputation = {
  _reputation: number;
  reputationLevel: "Clean" | "Suspicious" | "Untrusted" | "Cheater";
};

type IkcheatnietStats = {
  last_modified: string;
  total_users: number;
  total_file_length: number;
};

License 📜

The project is licensed under MIT.

Feel free to use, modify, and distribute this package as needed. 💻