Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

rsn-filter

RsnLabs11MIT1.0.1TypeScript support: included

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

ai, image recognition, content moderation, online safety, nsfw filtering, explicit content detection, image analysis, content categorization, image moderation, online platform safety

readme

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);
  }
})();