sarcasm-js

1.0.3 • Public • Published

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

/sarcasm-js/

    Package Sidebar

    Install

    npm i sarcasm-js

    Weekly Downloads

    4

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    1.96 kB

    Total Files

    4

    Last publish

    Collaborators

    • 0xfps