Calm.js & Form Validation for Angry, Irate, Shouting People

Just whipped together calm.js

It primary use is to check if people are typing in a civilized calm fashion.

It will check for people abusing capslock and validate the text. Are they calm or not?

Handy for making your support system nicer, or toss it on your comments form to teach people manners.

// real world example:
var isNegativeNancy = isCalm("I AM TALKING LIKE AN ANGRY PERSON");
if (isNegativeNancy) {
  alert("WOAH CHILL OUT MAN");
}

Install

npm install calm.js