1.0.3 • Published 1 year ago

sarcasm-js v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year 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

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago