File: browser.js

package info (click to toggle)
node-md5-hex 2.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 104 kB
  • sloc: makefile: 2; sh: 2
file content (10 lines) | stat: -rw-r--r-- 173 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
'use strict';
const md5OMatic = require('md5-o-matic');

module.exports = input => {
	if (Array.isArray(input)) {
		input = input.join('');
	}

	return md5OMatic(input);
};