coffea
Version:
event based and extensible nodejs irc client library with multi-network support
18 lines (14 loc) • 348 B
JavaScript
var Tag = function Tag(key, value) {
this.key = key;
this.value = value;
};
Tag.prototype.toString = function toString () {
return '@' + this.key + '=' + this.value;
};
Tag.prototype.getKey = function getKey () {
return this.key;
};
Tag.prototype.getValue = function getValue () {
return this.value;
};
module.exports = Tag;