aboutsummaryrefslogtreecommitdiff
path: root/node_modules/md5-hex/browser.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/md5-hex/browser.js')
-rw-r--r--node_modules/md5-hex/browser.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/node_modules/md5-hex/browser.js b/node_modules/md5-hex/browser.js
new file mode 100644
index 000000000..50b9b27cd
--- /dev/null
+++ b/node_modules/md5-hex/browser.js
@@ -0,0 +1,10 @@
+'use strict';
+var md5OMatic = require('md5-o-matic');
+
+module.exports = function (input) {
+ if (Array.isArray(input)) {
+ input = input.join('');
+ }
+
+ return md5OMatic(input);
+};