0.0.2 • Published 10 years ago

profanity v0.0.2

Weekly downloads
4
License
-
Repository
github
Last release
10 years ago

profanity

Randomly replaces text with profanity.

Written by Mr. Papercut (Mischa Rodermond) (website).

Install

Install with npm:

npm install profanity

Usage

	"use strict";

	var profanity = require('profanity');

	var str = "You are a very kind person and your mother looks lovely.";

	console.log(profanity.addProfanity(str));

Wordlist

The wordlist can be found and edited in ./lib/wordlist.json