Skip to content

js-pugilist/profane-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Profane-Js npm

A small and lighweight offline profanity checker

Getting Started

  npm i profane-js --save

Prerequisites

Node Package Manager Installed

  var profanity = require('profane-js');
  profanity.containsProfanity(String);

Example

  profanity.containsProfanity('good'); //return false
  profanity.containsProfanity('ass'); //return true
  profanity.containsProfanity('hey bitch'); //return true

Built With

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Contribution

Feel free to contribute

Acknowledgments

  • Hat tip to anyone whose code was used
  • Inspiration

Releases

No releases published

Sponsor this project

Packages

No packages published