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.