is-text-sensitive
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

Detect if Text is Sensitive (containing words that are explicit, adult, offensive or mature in certain situations) and returns a boolean value (true or false).

Installation

npm install is-text-sensitive --save

Usage

import { isTextSensitive } from 'is-text-sensitive';

// returns true or false
isTextSensitive('Sorry to include this here; what the fuck!'); // true ✅
isTextSensitive('Text containing sensitive/explicit content.'); // false ❌

Package Sidebar

Install

npm i is-text-sensitive

Weekly Downloads

4

Version

1.1.1

License

ISC

Unpacked Size

9.83 kB

Total Files

13

Last publish

Collaborators

  • dynamicremo