sinhala_profanity_filter

1.0.0 • Public • Published

Bullshit detector - The sinhala profanity filter 😎 💩

Profanity filter for sinhala language.

  • Promise based.
  • Zero dependency.

Usage

processTxt('fuck you son of bitch').then((data) => {
    console.log(data);
  });

Output

{
  badWordsContain: [ 'fuck', 'bitch' ],
  hasBadWords: true,
  starTxt: '**** you son of *****'
}

Feel free to request features or contribute to the code.

Package Sidebar

Install

npm i sinhala_profanity_filter

Weekly Downloads

2

Version

1.0.0

License

ISC

Unpacked Size

2.52 kB

Total Files

5

Last publish

Collaborators

  • pathum