Skip to content

ramirezmz/inapropriate-words

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

Handle with inappropriate words in your project.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published