Security News
cURL Project and Go Security Teams Reject CVSS as Broken
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
next-filter
Advanced tools
nsfwfilter with features like nsfw image detector, nsfw words detector, nsfw words cleaner
Nsfwfilter with features like nsfw image detector, nsfw words detector, nsfw words cleaner
Installation
npm i next-filter@latest
const { filter, clean, detect } = require("next-filter"); // supports esm also.
// for nsfw image detection:
(async () => {
const imageUrl = ``; // image url
try {
const resp = await filter(imageUrl);
if (resp.result) {
console.log("Image is nsfw");
} else {
console.log("Image isn't nsfw");
}
} catch (err) {
console.log(err);
}
})();
// for nsfw words cleaner:
(async () => {
const prompt = ``; // your prompt
try {
const resp = await clean(prompt);
console.log(resp.result);
} catch (err) {
console.log(err);
}
})();
// for nsfw words detection:
(async () => {
const prompt = ``; // your prompt
try {
const resp = await detect(prompt);
if (resp.result) {
console.log("Prompt contains nsfw words")
} else {
console.log("Prompt doesn't contain nsfw words")
}
} catch (err) {
console.log(err);
}
})();
FAQs
nsfwfilter with features like nsfw image detector, nsfw words detector, nsfw words cleaner
The npm package next-filter receives a total of 0 weekly downloads. As such, next-filter popularity was classified as not popular.
We found that next-filter demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.