File size: 186 Bytes
74aacd5
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
'use strict';
const { createHash } = require('crypto');

module.exports = env => {
  const hash = createHash('md5');
  hash.update(JSON.stringify(env));

  return hash.digest('hex');
};