Skip to content

Simple functions written in JavaScript that simulate texting and texting conversations, at custom chpm and wpm rates.

Notifications You must be signed in to change notification settings

rjb/Texting-Simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Texting Simulator

Simulates texting, and back and forth text conversations.

See it in action at: https://jsfiddle.net/raffybanks/706dc94p/

type()

Simply pass a string, element, and chpm and type() will simulate typing at the chpm rate.

Determine your chpm at http://www.powertyping.com/mo/testmobile.html

convo()

Pass string, element, wpm, optional rate, and optional callback and convo() will simulate a back and forth conversation.

You may pass an option rate (e.g. 2, 3, 4, etc.) and strings will return at 2x, 3x, 4x, etc. speeds.

E.g. convo("How's it going?", document.getElementById('chatBox'), 45, { rate: 2 });

About

Simple functions written in JavaScript that simulate texting and texting conversations, at custom chpm and wpm rates.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published