rsn-filter
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

RsnFilter

Advanced NSFW Image Detection Package

DigitalOcean Referral Badge

A comprehensive NSFW image detection npm package, equipped with advanced algorithms to ensure the safety and integrity of online platforms by swiftly identifying and filtering explicit content

Installation

Installation

npm i rsn-filter

APIKEY

Discord : https://discord.gg/r5QWdKfQxr

Join discord server and create account with /new slash command and get your apikey with /key slash command for free!

Usage Filter

const { RsnFilter } = require("rsn-filter");

const rsnfilter = new RsnFilter("rsnai_××××××××××××××××××××××");

(async () => {
  const imageUrl = "";
  
  try {
    const response = await rsnfilter.filter(imageUrl);
        
    if (response.result === true) {
      console.log(response.message);
    }
        
    if (response.result === false) {
      console.log(response.message);
    }
  } catch (error) {
    console.error("RsnFilter Error:", error);
  }
})();

Package Sidebar

Install

npm i rsn-filter

Weekly Downloads

17

Version

1.0.1

License

MIT

Unpacked Size

25.2 kB

Total Files

15

Last publish

Collaborators

  • rstacx