inappropriate-words

1.1.0 • Public • Published

Inappropriate Words

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

  • [x] English
  • [x] Portuguese
  • [x] Spanish
  • [x] French
  • [x] German
  • [x] 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!

Readme

Keywords

none

Package Sidebar

Install

npm i inappropriate-words

Weekly Downloads

1

Version

1.1.0

License

ISC

Unpacked Size

113 kB

Total Files

12

Last publish

Collaborators

  • ramirezmz