The act of converting content from its original format into a format capable of being displayed on the web
Manage Multiple WordPress Sites

Determine If A String Can Be Answered With “That’s What She Said” – twss.js

twss.js (that’s-what-she-said.js) is a Node library for determining if a string can be answered with “that’s what she said”.

For example, the simplest use of the library goes like this:

twss.is("Nice weather we're having today"); // false
twss.is("Can you make it harder?"); // true
twss.is("You're not going fast enough!"); // true

The library offers two options: changing the algorithm that determines whether or not a string can be answered with TWSS, and changing the threshold that can allow for more obscure or less obscure jokes to pass.

What’s interesting about this, though, is that, at the moment, twss.js has more than 500 watchers on GitHub.

    Manage WordPress Blogs

    Comments: