summaryrefslogtreecommitdiff
path: root/bin/wiki/ImportarDesdeURL/node_modules/trim-newlines/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'bin/wiki/ImportarDesdeURL/node_modules/trim-newlines/index.js')
-rw-r--r--bin/wiki/ImportarDesdeURL/node_modules/trim-newlines/index.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/wiki/ImportarDesdeURL/node_modules/trim-newlines/index.js b/bin/wiki/ImportarDesdeURL/node_modules/trim-newlines/index.js
new file mode 100644
index 00000000..f22c313b
--- /dev/null
+++ b/bin/wiki/ImportarDesdeURL/node_modules/trim-newlines/index.js
@@ -0,0 +1,4 @@
+'use strict';
+module.exports = x => x.replace(/^[\r\n]+/, '').replace(/[\r\n]+$/, '');
+module.exports.start = x => x.replace(/^[\r\n]+/, '');
+module.exports.end = x => x.replace(/[\r\n]+$/, '');