/isroblox

Node.js module that checks if a request comes from Roblox

Primary LanguageJavaScriptISC LicenseISC

isroblox

npm Version npm Downloads

Table of contents

About

1.1kB & dependency-free Node.js module to check if an IP belongs to Roblox.

Installation

Use the package manager npm to install isroblox:

npm install isroblox

Usage

const isroblox = require("isroblox");

const isRoblox = await isroblox.check("128.116.72.112");
if (isRoblox) {
    console.log("IP belongs to Roblox!");
} else {
    console.log("IP does not belong to Roblox!");
};

Links

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.