1.1.0 • Published 12 months ago

inappropriate-words v1.1.0

Weekly downloads
-
License
ISC
Repository
-
Last release
12 months ago

Inappropriate Words

A simple javascript library to detect inappropriate words in a string. Til now I only have a list of following languages:

  • English
  • Portuguese
  • Spanish
  • French
  • German
  • Italian

Usage

Requirements

  • Node.js
  • NPM

Examples

const InappropriateWords = require('inappropriate-words');

const Filter = new InappropriateWords();

const text = 'Neste texto temos algumas palavras que serão filtradas, merda é uma palavra inapropriada.'

const filteredText = Filter.check(text);

console.log(filteredText); // Needs to return true

Contributing

Send a pull request with your changes and tests!

1.1.0

12 months ago

1.1.2

12 months ago

1.0.2

12 months ago

1.0.1

12 months ago

1.0.0

12 months ago