Miss any of our Open RFC calls?Watch the recordings here! »

filipino-badwords-list

1.1.2 • Public • Published

filipino-badwords-list

A highly consumable list of bad (profanity) filipino words.

Inspired by badwords-list.

This data has been exposed as an object that contains:

  • an array
  • an object
  • a regular expression

depending on what is required for your purposes.

Install

npm i filipino-badwords-list

Usage

const filipinoBadwords = require("filipino-badwords-list"),
  array = filipinoBadwords.array,
  object = filipinoBadwords.object,
  regex = filipinoBadwords.regex;

Usage with bad-words

You can use bad-words a javascript filter for badwords to filter filipino and english bad words.

Installation

npm i bad-words

Usage

const Filter = require("bad-words");
const filipinoBadwords = require("filipino-badwords-list");
 
const filter = new Filter({ list: filipinoBadwords.array });
 
console.log(filter.clean("tangina, wag kang bobo")); // *******, wag kang ****

Testing

Requires

  • Jest
npm test

Contributing

If you know filipino bad word(s), please contribute to grow our list of filipino bad words and make the web a better place.

Please follow these steps to contribute

License

MIT

Install

npm i filipino-badwords-list

DownloadsWeekly Downloads

1

Version

1.1.2

License

MIT

Unpacked Size

11.7 kB

Total Files

13

Last publish

Collaborators

  • avatar