sarcasm-js
v1.0.3
Published
A simple sarcasm text generator.
Downloads
17
Readme
sarcasm-js
Simple sarcasm text generator.
Install
npm install sarcasm-js
Usage
const sarcasm = require("sarcasm-js")
const text = "Any choice of text."
const start = 0 // start can be 0 or 1 depending on which letter should be made small, 0 for first, 1 for second.
const sarcasmText = sarcasm.generate(text, start)
// >>> sarcasmText = "aNy ChOiCe Of TeXt."