rsn-filter
v1.0.1
Published
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
Downloads
27
Maintainers
Readme
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);
}
})();