1.0.3 • Published 3 years ago

sarcasm-js v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

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."
1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago