A module for chat applications to handle World Of Warcraft style whisper commands View on npm
pass module a string in the format "/tell TARGET MESSAGE", and an object representing the target and message is returned.
npm install whisper-handler
var whisper = require('whisper-handler');
var obj = whisper("/tell Ferdinand Hey man! I like your style...");
obj.target // "Ferdinand"
obj.message // "Hey man! I like your style..."