profane-js

0.0.7 • Public • Published

Profane-Js

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(myText);

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

Acknowledgments

  • Hat tip to anyone whose code was used
  • Inspiration

Readme

Keywords

Package Sidebar

Install

npm i profane-js

Weekly Downloads

2

Version

0.0.7

License

MIT

Unpacked Size

19 kB

Total Files

4

Last publish

Collaborators

  • anujsinghwd