summaryrefslogtreecommitdiff
path: root/node_modules/typographic-single-spaces/index.es5.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/typographic-single-spaces/index.es5.js')
-rw-r--r--node_modules/typographic-single-spaces/index.es5.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/node_modules/typographic-single-spaces/index.es5.js b/node_modules/typographic-single-spaces/index.es5.js
new file mode 100644
index 0000000..f196c7a
--- /dev/null
+++ b/node_modules/typographic-single-spaces/index.es5.js
@@ -0,0 +1,6 @@
+"use strict";
+
+module.exports = function (input) {
+ return input.replace(/ +/gim, " ");
+};
+