Index: frontend/node_modules/string-length/index.js
===================================================================
--- frontend/node_modules/string-length/index.js	(revision 9af201e94b5a79beb92a30858fc54de4bc3b9449)
+++ frontend/node_modules/string-length/index.js	(revision 9af201e94b5a79beb92a30858fc54de4bc3b9449)
@@ -0,0 +1,19 @@
+'use strict';
+const stripAnsi = require('strip-ansi');
+const charRegex = require('char-regex');
+
+const stringLength = string => {
+	if (string === '') {
+		return 0;
+	}
+
+	const strippedString = stripAnsi(string);
+
+	if (strippedString === '') {
+		return 0;
+	}
+
+	return strippedString.match(charRegex()).length;
+};
+
+module.exports = stringLength;
