Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

next-filter

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

next-filter

Next Filter

  • 1.0.0
  • unpublished
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Next Filter

Advanced NSFW content detector with nsfw prompt converter

Installation

Installation

npm i next-filter

Usage Filter

const { NextFilter } = require("next-filter");

const next = new NextFilter();

(async () => {
	const imageUrl = ``; // image url

	try {
		const resp = await next.filter(imageUrl);
		if (resp.result === true) {
			console.log(resp.message);
		} else {
			console.log(resp.message);
		}
	} catch (err) {
		console.log(err);
	}
})();

Usage Convert

const { NextFilter } = require("next-filter");

const next = new Nextfilter();

(async () => {
	const prompt = ``; // your prompt

	try {
		const resp = await next.convert(prompt);
    console.log(resp.message);
	} catch (err) {
		console.log(err)
	}
})();

General Notes For Filter

  • Animated GIF Support
  • Image Types: .jpg .png .bmp .gif .webp
  • Max image size: 10 MB

General Notes For Convert

  • Analyze text and return cleaned version of the text.
  • Language Support: Arabic, Czech, Danish, German, English, Esperanto, Spanish, Castilian, Persian, Finnish, French, Hindi, Hungarian, Italian, Japanese, Korean, Dutch, Flemish, Norwegian, Polish, Portuguese, Russian, Swedish, Thai, Klingon, Turkish, Chinese.

Support

  • if you face any problem the join our discord server.

Keywords

FAQs

Package last updated on 24 May 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc