1.2.0 • Published 3 years ago

flavor-text v1.2.0

Weekly downloads
3
License
ISC
Repository
github
Last release
3 years ago

flavor-text

Adds flavor to your text.

To use this package, first install it:

npm i flavor-text

Require it at the top of the file you want to use it in:

const flavorText = require("flavor-text");

Instantiate a new object:

let flavor = new flavorText();

And then pass the string you want to add flavor to as an argument to a method below.

Examples:

flavor.loud("why are you yelling");

Returns "WHY ARE YOU YELLING"

flavor.soft("PSST");

Returns "psst"

flavor.wavy("nice");

Returns "nice", but with a tilde on each side for sarcasm.

flavor.spacy("wow");

Returns "w o w"

flavor.period("what do you mean");

Returns "what. do. you. mean."

flavor.trailing("if you say so");

Returns "if... you... say... so..."

1.2.0

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago