Skip to content

Simple profanity finding library for javascript to detect swear language.Created for nodejs.

License

Notifications You must be signed in to change notification settings

gautamkrishnar/profanity-finder.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

profanity-finder.js

Simple profanity finding library for javascript to detect swear language. You can include this library in your projects for easily detecting swear words or bad words.

Installation

  npm install profanity-finder --save

Usage

  var profanity-finder = require('profanity-finder')
      findprofanity = profanity-finder.findprofanity;

  var text="this is shit";
  var x= findprofanity(text);
  

The value of x will be true if any hate speach is found in the passed string to findprofanity()

Contributing

Clone the project and submit your improvements via pull request. Dont forget to checkout profanity finding library for other programming languages: https://github.com/gautamkrishnar/profanity-finder

Release History

  • 1.0 Initial release