Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including filipino-badwords-list with all npm packages installed. Try it out:

var filipinoBadwordsList = require("filipino-badwords-list")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

filipino-badwords-list v1.1.2

A highly consumable list of bad (profanity) filipino words

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

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free