profanity
v0.0.2
Published
Randomly replaces text with profanity.
Downloads
16
Readme
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