New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

kayle-scanner

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

kayle-scanner

latest
Source
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

kayle-scanner

Scan URLs for adult content.

Usage

Install the package:

npm install kayle-scanner

Import the package:

import { scan } from "kayle-scanner";

Use the scan function:

const thisIsntAdultContent = scan("https://www.google.com");
console.log(thisIsntAdultContent); // false

const thisIsAdultContent = scan("https://onlyfans.com");
console.log(thisIsAdultContent); // true

Options

const options: ScanOptions = {
	followRedirects: true,
	botDetection: "links", // ignore, links, always
	customDomains: [],
	errors: "ignore", // ignore, log, throw
};

Tests

bun test

FAQs

Package last updated on 28 Jan 2025

Related posts