Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 915 Bytes

README.md

File metadata and controls

39 lines (29 loc) · 915 Bytes

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